Be explicit about the event mouse and keyboard ID

This commit is contained in:
Sam Lantinga committed 2024-03-23 16:31:00 -07:00
1 parent 1c54455353
commit d1eb4adb16
53 files changed
+383 -703

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ typedef Uint32 SDL_PenID; /**< SDL_PenIDs identify pens uniquely within a sessio
#define SDL_PEN_INVALID ((SDL_PenID)0) /**< Reserved invalid ::SDL_PenID is valid */
#define SDL_PEN_MOUSEID ((SDL_PenID)-2) /**< Device ID for mouse events triggered by pen events */
#define SDL_PEN_MOUSEID ((SDL_MouseID)-2) /**< Device ID for mouse events triggered by pen events */
#define SDL_PEN_INFO_UNKNOWN (-1) /**< Marks unknown information when querying the pen */