NintendoSwitchGamepadExtension Class |
Allows access to Nintendo Switch Controller specific functions such as vibration.
This extension only applies to desktop platforms. For the Nintendo Switch platform, see the Nintendo Switch plugin documentation.
Inheritance Hierarchy Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic abstract class NintendoSwitchGamepadExtension : ControllerExtension,
IControllerVibrator, IHIDControllerExtension
The NintendoSwitchGamepadExtension type exposes the following members.
Properties
Methods| | Name | Description |
|---|
 | GetVibration |
Gets the current vibration value from the controller.
|
 | SetVibration(Int32, NintendoSwitchGamepadVibration) |
Sets vibration in the controller.
|
 | SetVibration(Int32, NintendoSwitchGamepadVibration, Boolean) |
Sets vibration in the controller.
|
 | SetVibration(Int32, NintendoSwitchGamepadVibration, Single) |
Sets vibration in the controller.
|
 | SetVibration(Int32, NintendoSwitchGamepadVibration, Single, Boolean) |
Sets vibration in the controller.
|
 | SetVibration(Int32, Single, Single, Single, Single) |
Sets vibration in the controller.
|
 | SetVibration(Int32, Single, Single, Single, Single, Boolean) |
Sets vibration in the controller.
|
 | SetVibration(Int32, Single, Single, Single, Single, Single) |
Sets vibration in the controller.
|
 | SetVibration(Int32, Single, Single, Single, Single, Single, Boolean) |
Sets vibration in the controller.
|
 | StopVibration |
Stops vibration and cancels vibration file playback in all vibration motors.
|
 | StopVibration(Int32) |
Stops vibration and cancels vibration file playback in the specified vibration motor.
|
Top
See Also