Get the current key modifier state for the keyboard.
Defined in <SDL3/SDL_keyboard.h>
void); SDL_Keymod SDL_GetModState(
(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.1.3.