Click or drag to resize

DualSenseExtensionSetVibration Method (DualShock4MotorType, Single, Single, Boolean)

Sets vibration level on an individual motor.

Namespace:  Rewired.ControllerExtensions
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetVibration(
	DualShock4MotorType motor,
	float motorLevel,
	float duration,
	bool stopOtherMotors
)

Parameters

motor
Type: Rewired.ControllerExtensionsDualShock4MotorType
Motor type
motorLevel
Type: SystemSingle
Motor level [float: 0.0 - 1.0]
duration
Type: SystemSingle
Length of time in seconds to activate the motor before it stops. [0 = Infinite]
stopOtherMotors
Type: SystemBoolean
Stop other motors?
See Also