Switched SDL_TouchID and SDL_FingerID to be Uint64 with 0 being an invalid value

This commit is contained in:
Sam Lantinga 2024-01-18 09:19:05 -08:00
parent b19d43a74d
commit a31dc6dfcb
17 changed files with 75 additions and 101 deletions

View file

@ -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)
/**