Quantcast
Channel: Steamworks - Documentation
Viewing all articles
Browse latest Browse all 9

Steamworks::TriggerHapticPulse

$
0
0
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.

Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles



Latest Images