mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 15:30:50 +00:00
Use the correct type for the modifier in SDL_Keysym
This shrinks the structure by 32-bits because we've removed implicit padding between the fields
This commit is contained in:
parent
c95c415a0b
commit
026edbeab0
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ typedef struct SDL_Keysym
|
||||||
{
|
{
|
||||||
SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */
|
SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */
|
||||||
SDL_Keycode sym; /**< SDL virtual key code - see ::SDL_Keycode for details */
|
SDL_Keycode sym; /**< SDL virtual key code - see ::SDL_Keycode for details */
|
||||||
Uint16 mod; /**< current key modifiers */
|
SDL_Keymod mod; /**< current key modifiers */
|
||||||
Uint32 unused;
|
Uint16 unused;
|
||||||
} SDL_Keysym;
|
} SDL_Keysym;
|
||||||
|
|
||||||
/* Function prototypes */
|
/* Function prototypes */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue