This function is used trigger vibration on the left or right pad on one of the controllers.
Syntax
- void TriggerHapticPulse(const int controllerIndex, const int pad, const int duration)
Parameters
- controllerIndex: the controller to check. Currently controllers range from 0 to 7.
- pad: The pad (left = 0 or right = 1) to send the vibration to.
- duration: The duration in milliseconds to vibrate the pad. Acceptible durations range from 100 to 2000ms.