Function SDL_GetModState
pub unsafe extern "C" fn SDL_GetModState() -> SDL_Keymod
Available on crate feature
dep_sdl2
only.Expand description
Get the current key modifier state for the keyboard.
\returns an OR’d combination of the modifier keys for the keyboard. See SDL_Keymod for details.
\since This function is available since SDL 2.0.0.
\sa SDL_GetKeyboardState \sa SDL_SetModState