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.
This function is available since SDL 3.1.3.