mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-23 04:59:10 +00:00
Added the ability to specify a gamepad type in the mapping
Also renamed most cases of SDL_GAMEPAD_TYPE_UNKNOWN to SDL_GAMEPAD_TYPE_STANDARD, and SDL_GetGamepadType() will return SDL_GAMEPAD_TYPE_UNKNOWN only if the gamepad is invalid.
This commit is contained in:
parent
57820071a4
commit
b271e92c6e
14 changed files with 530 additions and 65 deletions
|
@ -897,3 +897,7 @@
|
|||
#define SDL_GetGamepadPowerLevel SDL_GetGamepadPowerLevel_REAL
|
||||
#define SDL_SetGamepadMapping SDL_SetGamepadMapping_REAL
|
||||
#define SDL_strndup SDL_strndup_REAL
|
||||
#define SDL_GetGamepadTypeFromString SDL_GetGamepadTypeFromString_REAL
|
||||
#define SDL_GetGamepadStringForType SDL_GetGamepadStringForType_REAL
|
||||
#define SDL_GetRealGamepadInstanceType SDL_GetRealGamepadInstanceType_REAL
|
||||
#define SDL_GetRealGamepadType SDL_GetRealGamepadType_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue