mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-17 16:58:13 +00:00
touch: Replace GetNumTouchDevices/GetTouchDevice with a single function.
Now it returns an array and optional count, to match other SDL3 APIs. SDL_GetTouchName() was replaced with a function that takes an instance ID instead of an index, too.
This commit is contained in:
@@ -255,7 +255,6 @@ SDL3_0.0.0 {
|
||||
SDL_GetNumJoystickButtons;
|
||||
SDL_GetNumJoystickHats;
|
||||
SDL_GetNumRenderDrivers;
|
||||
SDL_GetNumTouchDevices;
|
||||
SDL_GetNumTouchFingers;
|
||||
SDL_GetNumVideoDrivers;
|
||||
SDL_GetOriginalMemoryFunctions;
|
||||
@@ -328,10 +327,8 @@ SDL3_0.0.0 {
|
||||
SDL_GetThreadName;
|
||||
SDL_GetTicks;
|
||||
SDL_GetTicksNS;
|
||||
SDL_GetTouchDevice;
|
||||
SDL_GetTouchDeviceType;
|
||||
SDL_GetTouchFinger;
|
||||
SDL_GetTouchName;
|
||||
SDL_GetVersion;
|
||||
SDL_GetVideoDriver;
|
||||
SDL_GetWindowBordersSize;
|
||||
@@ -962,6 +959,8 @@ SDL3_0.0.0 {
|
||||
SDL_CreateTextureWithProperties;
|
||||
SDL_CreateRendererWithProperties;
|
||||
SDL_GetGamepadMappings;
|
||||
SDL_GetTouchDevices;
|
||||
SDL_GetTouchDeviceName;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
Reference in New Issue
Block a user