mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 06:51:55 +00:00
gamepad: Replace GetNumMappings/GetMappingByIndex with a single function.
Now it returns an array and optional count, to match other SDL3 APIs.
This commit is contained in:
parent
dfee3f9e92
commit
dd47da8a5c
9 changed files with 78 additions and 79 deletions
|
|
@ -189,7 +189,6 @@ SDL3_0.0.0 {
|
|||
SDL_GetGamepadJoystick;
|
||||
SDL_GetGamepadMapping;
|
||||
SDL_GetGamepadMappingForGUID;
|
||||
SDL_GetGamepadMappingForIndex;
|
||||
SDL_GetGamepadName;
|
||||
SDL_GetGamepadPath;
|
||||
SDL_GetGamepadPlayerIndex;
|
||||
|
|
@ -250,7 +249,6 @@ SDL3_0.0.0 {
|
|||
SDL_GetMouseState;
|
||||
SDL_GetNaturalDisplayOrientation;
|
||||
SDL_GetNumAllocations;
|
||||
SDL_GetNumGamepadMappings;
|
||||
SDL_GetNumGamepadTouchpadFingers;
|
||||
SDL_GetNumGamepadTouchpads;
|
||||
SDL_GetNumJoystickAxes;
|
||||
|
|
@ -963,6 +961,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetBooleanProperty;
|
||||
SDL_CreateTextureWithProperties;
|
||||
SDL_CreateRendererWithProperties;
|
||||
SDL_GetGamepadMappings;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue