Function sdl2_sys::SDL_GetModState

source ·
pub unsafe extern "C" fn SDL_GetModState() -> SDL_Keymod
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