You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add methods to Gosu Gosu.gamepad_[haptic|rumble]?(id) - [boolean] whether gamepad supports haptic feedback Gosu.gamepad_[pulse|rumble](id, duration, strength) - [void] vibrate given gamepad Gosu.gamepad_[pulse|rumble]_stop(id) - [void] halt all force feedback for gamepad
ifGosu.gamepad_haptic?(0)# gamepad_idGosu.gamepad_pulse(0,150,0.75)# gamepad_id, duration in ms, strength as value between 0.0 and 1.0end
Add methods to
Gosu
Gosu.gamepad_[haptic|rumble]?(id)
- [boolean] whether gamepad supports haptic feedbackGosu.gamepad_[pulse|rumble](id, duration, strength)
- [void] vibrate given gamepadGosu.gamepad_[pulse|rumble]_stop(id)
- [void] halt all force feedback for gamepadSDL Wiki on Force Feedback
The text was updated successfully, but these errors were encountered: