DualShock4ExtensionSetVibration(Single, Single, Single, Single) Method |
Sets vibration level for left and right motors.
Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void SetVibration(
float leftMotorLevel,
float rightMotorLevel,
float leftMotorDuration,
float rightMotorDuration
)
Parameters
- leftMotorLevel Single
- float: 0.0 - 1.0
- rightMotorLevel Single
- float: 0.0 - 1.0
- leftMotorDuration Single
- Length of time in seconds to activate the left motor before it stops. [0 = Infinite]
- rightMotorDuration Single
- Length of time in seconds to activate the right motor before it stops. [0 = Infinite]
Implements
IDualShock4ExtensionSetVibration(Single, Single, Single, Single)
See Also