Tao.Sdl SDK Documentation

Sdl.SDL_GetModState Method 

Get the state of modifier keys.

[Visual Basic]
Public Shared Function SDL_GetModState() As Integer
[C#]
public static int SDL_GetModState();

Return Value

The return value can be an OR'd combination of the SDLMod enum.

Remarks

Returns the current state of the modifier keys (CTRL, ALT, etc.).

Binds to C-function in SDL_keyboard.h

SDLMod SDL_GetModState(void)
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_GetKeyState