GCControllerDualShock4ExtensionSetVibration Method (Single, Single, Single, Single) |
Sets vibration level for left and right motors.
Namespace:
Rewired.Platforms.Apple.GameController
Assembly:
Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SetVibration(
float leftMotorLevel,
float rightMotorLevel,
float leftMotorDuration,
float rightMotorDuration
)
Parameters
- leftMotorLevel
- Type: SystemSingle
float: 0.0 - 1.0 - rightMotorLevel
- Type: SystemSingle
float: 0.0 - 1.0 - leftMotorDuration
- Type: SystemSingle
Length of time in seconds to activate the left motor before it stops. [0 = Infinite] - rightMotorDuration
- Type: SystemSingle
Length of time in seconds to activate the right motor before it stops. [0 = Infinite]
Implements
IDualShock4ExtensionSetVibration(Single, Single, Single, Single)See Also