Click or drag to resize

GCControllerDualSenseExtensionSetVibration(Int32, Single, Single) Method

Sets vibration level for a motor at a specified index with a timeout.

Namespace: Rewired.Platforms.Apple.GameController
Assembly: Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetVibration(
	int motorIndex,
	float motorLevel,
	float duration
)

Parameters

motorIndex  Int32
Motor index
motorLevel  Single
Motor level [float: 0.0 - 1.0]
duration  Single
Length of time in seconds to activate the motor before it stops. [0 = Infinite]

Implements

IControllerVibratorSetVibration(Int32, Single, Single)
See Also