Click or drag to resize

DualShock4ExtensionSetVibration(DualShock4MotorType, Single, Single, Boolean) Method

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  DualShock4MotorType
Motor type
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]
stopOtherMotors  Boolean
Stop other motors?
See Also