Man page - sdl_getmodstate(3)

Packages contas this manual

Manual

SDL_GetModState(3) SDL3 FUNCTIONS SDL_GetModState(3)

SDL_GetModState - Get the current key modifier state for the keyboard.

Defined in SDL3/SDL_keyboard.h

#include "SDL3/SDL.h"
SDL_Keymod SDL_GetModState(void);

( SDL_Keymod ) Returns an OR'd combination of the modifier keys for the keyboard. See SDL_Keymod
for details.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_GetKeyboardState(3), (3), SDL_SetModState(3)

SDL 3.2.10 Simple Directmedia Layer