Struct sdl2_sys::SDL_Keysym
[−]
[src]
#[repr(C)]pub struct SDL_Keysym { pub scancode: SDL_Scancode, pub sym: SDL_Keycode, pub mod_: Uint16, pub unused: Uint32, }
\brief The SDL keysym structure, used in key events.
\note If you are looking for translated character input, see the ::SDL_TEXTINPUT event.
Fields
scancode: SDL_Scancode
< SDL physical key code - see ::SDL_Scancode for details
sym: SDL_Keycode
< SDL virtual key code - see ::SDL_Keycode for details
mod_: Uint16
< current key modifiers
unused: Uint32