SDL_Keycode is now Uint32

This commit is contained in:
Sam Lantinga committed 2024-05-09 10:00:46 -07:00
1 parent d3e28f3ab8
commit 1944c009e9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@
*
* \sa SDL_KeyCode
*/
typedef Sint32 SDL_Keycode;
typedef Uint32 SDL_Keycode;
#define SDLK_SCANCODE_MASK (1u<<30)
#define SDL_SCANCODE_TO_KEYCODE(X) (X | SDLK_SCANCODE_MASK)