mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-17 00:38:12 +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:
@@ -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: *;
|
||||
};
|
||||
|
Reference in New Issue
Block a user