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
I wish there was some functionality to vibrate the gamepad with raylib for some enhanced haptics experience. Xbox and PS gamepads support this out of the box for desktop & consoles, HTML5's Gamepad API still doesn't have any functionality for this, but in that platform the method would just not do anything.
I propose there would be 2 methods:
Code Example
boolIsGamepadVibrationSupported(intgamepad); // checks whether target gamepad device supports vibrationvoidSetGamepadVibration(intgamepad, floatleftMotor, floatrightMotor); // sets the vibration strength for the gamepad motors, 0 to 1
The text was updated successfully, but these errors were encountered:
As this issue depends on an external library, I'm closing it. Feel free to open the issue on the specific repo that should implement it or just send a PR for review.
Issue description
I wish there was some functionality to vibrate the gamepad with raylib for some enhanced haptics experience. Xbox and PS gamepads support this out of the box for desktop & consoles, HTML5's Gamepad API still doesn't have any functionality for this, but in that platform the method would just not do anything.
I propose there would be 2 methods:
Code Example
The text was updated successfully, but these errors were encountered: