mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 01:08:26 +00:00
Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS
This hint defaults on, enabling advanced controller features. This replaces SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE and SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, and is supported by PlayStation and Nintendo Switch controllers. Fixes https://github.com/libsdl-org/SDL/issues/10086
This commit is contained in:
parent
95d44f11c7
commit
2c0a8363a5
7 changed files with 254 additions and 187 deletions
|
@ -3731,3 +3731,11 @@ typedef SDL_bool, bool;
|
|||
@@
|
||||
- SDL_GLattr
|
||||
+ SDL_GLAttr
|
||||
@@
|
||||
@@
|
||||
- SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE
|
||||
+ SDL_HINT_JOYSTICK_ENHANCED_REPORTS
|
||||
@@
|
||||
@@
|
||||
- SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE
|
||||
+ SDL_HINT_JOYSTICK_ENHANCED_REPORTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue