Added touch subsystem locking

Fixes https://github.com/libsdl-org/SDL/issues/14563
This commit is contained in:
Sam Lantinga
2025-12-02 01:11:38 -08:00
parent 22decf4783
commit e1edeab0c9
2 changed files with 371 additions and 261 deletions
+370 -252
View File
File diff suppressed because it is too large Load Diff
+1 -9
View File
@@ -23,15 +23,7 @@
#ifndef SDL_touch_c_h_
#define SDL_touch_c_h_
typedef struct SDL_Touch
{
SDL_TouchID id;
SDL_TouchDeviceType type;
int num_fingers;
int max_fingers;
SDL_Finger **fingers;
char *name;
} SDL_Touch;
typedef struct SDL_Touch SDL_Touch;
// Initialize the touch subsystem
extern bool SDL_InitTouch(void);