Tao.Sdl SDK Documentation

Sdl.SDL_SetModState Method 

Set the current key modifier state.

[Visual Basic]
Public Shared Sub SDL_SetModState( _
   ByVal modstate As Integer _
)
[C#]
public static void SDL_SetModState(
   int modstate
);

Parameters

modstate

Remarks

The inverse of SDL_GetModState, SDL_SetModState allows you to impose modifier key states on your application.

Simply pass your desired modifier states into modstate. This value my be a logical OR'd combination of SDLMod.

Binds to C-function in SDL_keyboard.h

void SDL_SetModState(SDLMod modstate)
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_GetModState