mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Add hint SDL_HINT_MOUSE_TOUCH_EVENTS for mouse events to generate touch events
controlling whether mouse events should generate synthetic touch events By default SDL will *not* generate touch events for mouse events
This commit is contained in:
@@ -60,6 +60,9 @@ typedef struct SDL_Finger
|
||||
/* Used as the device ID for mouse events simulated with touch input */
|
||||
#define SDL_TOUCH_MOUSEID ((Uint32)-1)
|
||||
|
||||
/* Used as the SDL_TouchID for touch events simulated with mouse input */
|
||||
#define SDL_MOUSE_TOUCHID ((Sint64)-1)
|
||||
|
||||
|
||||
/* Function prototypes */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user