mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 03:44:20 +08:00
The keycode in key events is the base, unmodified, keycode for the current keyboard layout
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user