XboxOneGamepadExtension Class |
Allows access to platform-specific controller functions such as vibration.
Inheritance Hierarchy Namespace: Rewired.Platforms.XboxOneAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic sealed class XboxOneGamepadExtension : ControllerExtension,
IControllerVibrator
The XboxOneGamepadExtension type exposes the following members.
Properties
Methods | Name | Description |
---|
 | GetVibration(Int32) |
Gets vibration level for a motor at a specified index.
|
 | GetVibration(XboxOneGamepadMotorType) |
Gets vibration level for a specific motor.
|
 | PulseVibrateMotor |
Pulses the vibration motor for a specified duration.
|
 | SetVibration(Int32, Single) |
Sets vibration level for a motor at a specified index.
|
 | SetVibration(Single, Single) |
Sets vibration level for left and right motors.
|
 | SetVibration(XboxOneGamepadMotorType, Single) |
Sets vibration leves on an individual motor.
|
 | SetVibration(Int32, Single, Boolean) |
Sets vibration level for a motor at a specified index.
|
 | SetVibration(Int32, Single, Single) |
Sets vibration level for a motor at a specified index with a timeout.
|
 | SetVibration(Single, Single, Boolean) |
Sets vibration level for left and right motors.
|
 | SetVibration(XboxOneGamepadMotorType, Single, Boolean) |
Sets vibration level on an individual motor.
|
 | SetVibration(XboxOneGamepadMotorType, Single, Single) | |
 | SetVibration(Int32, Single, Single, Boolean) |
Sets vibration level for a motor at a specified index with a timeout.
|
 | SetVibration(Single, Single, Single, Single) |
Sets vibration levels on all 4 motors.
|
 | SetVibration(XboxOneGamepadMotorType, Single, Single, Boolean) | |
 | StopVibration |
Stops vibration on all motors.
|
Top
See Also