mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 00:17:40 +00:00
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:
parent
c88c12148d
commit
cd231a65f6
36 changed files with 133 additions and 226 deletions
|
@ -131,9 +131,6 @@ SDL3_0.0.0 {
|
|||
SDL_GamepadEventsEnabled;
|
||||
SDL_GamepadHasAxis;
|
||||
SDL_GamepadHasButton;
|
||||
SDL_GamepadHasLED;
|
||||
SDL_GamepadHasRumble;
|
||||
SDL_GamepadHasRumbleTriggers;
|
||||
SDL_GamepadHasSensor;
|
||||
SDL_GamepadSensorEnabled;
|
||||
SDL_GetAndroidSDKVersion;
|
||||
|
@ -411,9 +408,6 @@ SDL3_0.0.0 {
|
|||
SDL_IsTablet;
|
||||
SDL_JoystickConnected;
|
||||
SDL_JoystickEventsEnabled;
|
||||
SDL_JoystickHasLED;
|
||||
SDL_JoystickHasRumble;
|
||||
SDL_JoystickHasRumbleTriggers;
|
||||
SDL_IsJoystickHaptic;
|
||||
SDL_LinuxSetThreadPriority;
|
||||
SDL_LinuxSetThreadPriorityAndPolicy;
|
||||
|
@ -965,6 +959,8 @@ SDL3_0.0.0 {
|
|||
SDL_GetHapticName;
|
||||
SDL_ReadSurfacePixel;
|
||||
SDL_FlipSurface;
|
||||
SDL_GetGamepadCaps;
|
||||
SDL_GetJoystickCaps;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue