Click or drag to resize

XboxOneGamepadExtensionSetVibration Method (Single, Single, Single, Single)

Sets vibration levels on all 4 motors.

Namespace:  Rewired.Platforms.XboxOne
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetVibration(
	float leftMotorLevel,
	float rightMotorLevel,
	float leftTriggerLevel,
	float rightTriggerLevel
)

Parameters

leftMotorLevel
Type: SystemSingle
Left motor level [float: 0.0 - 1.0]
rightMotorLevel
Type: SystemSingle
Right motor level [float: 0.0 - 1.0]
leftTriggerLevel
Type: SystemSingle
Left trigger level [float: 0.0 - 1.0]
rightTriggerLevel
Type: SystemSingle
Right trigger level [float: 0.0 - 1.0]
See Also