mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-29 02:34:23 +00:00
Switched SDL_TouchID and SDL_FingerID to be Uint64 with 0 being an invalid value
This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef Sint64 SDL_TouchID;
|
||||
typedef Sint64 SDL_FingerID;
|
||||
typedef Uint64 SDL_TouchID;
|
||||
typedef Uint64 SDL_FingerID;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@@ -61,7 +61,7 @@ typedef struct SDL_Finger
|
||||
#define SDL_TOUCH_MOUSEID ((Uint32)-1)
|
||||
|
||||
/* Used as the SDL_TouchID for touch events simulated with mouse input */
|
||||
#define SDL_MOUSE_TOUCHID ((Sint64)-1)
|
||||
#define SDL_MOUSE_TOUCHID ((Uint64)-1)
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user