The keycode in key events is the base, unmodified, keycode for the current keyboard layout

This commit is contained in:
Sam Lantinga committed 2024-07-01 13:56:49 -07:00
1 parent 5755bde3b8
commit d9dc4b320a
15 files changed
+125 -160

No files matched your search

+2
View File
@@ -415,6 +415,8 @@ typedef enum SDL_Scancode
/* Add any other keys here. */
SDL_SCANCODE_RESERVED = 400, /**< 400-500 reserved for dynamic keycodes */
SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
for array bounds */
} SDL_Scancode;