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
Trait Implementations
impl Clone for SDL_Keysym
[src]
impl Clone for SDL_Keysym
[src]fn clone(&self) -> SDL_Keysym
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SDL_Keysym
[src]
impl Copy for SDL_Keysym
[src]