Skip to main content

SDL_GetModState

Function 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.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_GetKeyboardState See Also: SDL_SetModState