NintendoSwitchGamepadExtensionSetVibration(Int32, NintendoSwitchGamepadVibration, Boolean) Method |
Sets vibration in the controller.
Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic void SetVibration(
int motorIndex,
NintendoSwitchGamepadVibration vibration,
bool stopOtherMotors
)
Parameters
- motorIndex Int32
- The index of the vibration motor
- vibration NintendoSwitchGamepadVibration
- The vibration data.
- stopOtherMotors Boolean
- Stop other motors?
See Also