Get the current key modifier state for the keyboard.
SDL_Keymod SDL_GetModState(void);
Returns an OR'd combination of the modifier keys for the keyboard. See SDL_Keymod for details.
This function is available since SDL 2.0.0.
CategoryAPI