mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-10-02 16:23:57 +08:00
Added touch subsystem locking
Fixes https://github.com/libsdl-org/SDL/issues/14563
This commit is contained in:
+131
-13
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user