NintendoSwitchGamepadExtensionSetVibration(Int32, NintendoSwitchGamepadVibration) Method |
Sets vibration in the controller.
Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic void SetVibration(
int motorIndex,
NintendoSwitchGamepadVibration vibration
)
Parameters
- motorIndex Int32
- The index of the vibration motor
- vibration NintendoSwitchGamepadVibration
- The vibration data.
See Also