Added SDL_GetJoystickCaps() and SDL_GetGamepadCaps() to get the capabilities of controllers
Also added SDL_GAMEPAD_CAP_PLAYER_LED to let the application know if the controller has a visible player LED
This commit is contained in:
1 parent
c88c12148d
commit
cd231a65f6
36 files changed
+133
-226
No files matched your search
@@ -1205,21 +1205,6 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_GameControllerHasLED
|
||||
+ SDL_GamepadHasLED
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_GameControllerHasRumble
|
||||
+ SDL_GamepadHasRumble
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_GameControllerHasRumbleTriggers
|
||||
+ SDL_GamepadHasRumbleTriggers
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_GameControllerHasSensor
|
||||
+ SDL_GamepadHasSensor
|
||||
(...)
|
||||
|
||||
Reference in new issue
Block a user