mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 08:57:40 +00:00
The keycode in key events is the base, unmodified, keycode for the current keyboard layout
This commit is contained in:
parent
5755bde3b8
commit
d9dc4b320a
15 changed files with 125 additions and 160 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue