SDL 3.0
|
#include <SDL_keyboard.h>
Data Fields | |
SDL_Scancode | scancode |
SDL_Keycode | sym |
Uint16 | mod |
Uint32 | unused |
The SDL keysym structure, used in key events.
If you are looking for translated character input, see the SDL_EVENT_TEXT_INPUT event.
Definition at line 52 of file SDL_keyboard.h.
Uint16 SDL_Keysym::mod |
current key modifiers
Definition at line 56 of file SDL_keyboard.h.
SDL_Scancode SDL_Keysym::scancode |
SDL physical key code - see SDL_Scancode for details
Definition at line 54 of file SDL_keyboard.h.
SDL_Keycode SDL_Keysym::sym |
SDL virtual key code - see SDL_Keycode for details
Definition at line 55 of file SDL_keyboard.h.
Uint32 SDL_Keysym::unused |
Definition at line 57 of file SDL_keyboard.h.