sdlGetModState function
Get the current key modifier state for the keyboard.
\returns an OR'd combination of the modifier keys for the keyboard. See SDL_Keymod for details.
\since This function is available since SDL 2.0.0.
\sa SDL_GetKeyboardState \sa SDL_SetModState
extern DECLSPEC SDL_Keymod SDLCALL SDL_GetModState(void)
Implementation
int sdlGetModState() {
final sdlGetModStateLookupFunction = libSdl2
.lookupFunction<Int32 Function(), int Function()>('SDL_GetModState');
return sdlGetModStateLookupFunction();
}