Click or drag to resize

GCControllerDualShock4ExtensionSetVibration Method (Int32, Single, Boolean)

Sets vibration level for a motor at a specified index.

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,
	bool stopOtherMotors
)

Parameters

motorIndex
Type: SystemInt32
Motor index
motorLevel
Type: SystemSingle
Motor level [float: 0.0 - 1.0]
stopOtherMotors
Type: SystemBoolean
Stop other motors?

Implements

IControllerVibratorSetVibration(Int32, Single, Boolean)
See Also