Example #1
0
// Sets the state of modifier keys
func SetModState(modstate Mod) {
	GlobalMutex.Lock()
	C.SDL_SetModState(C.SDLMod(modstate))
	GlobalMutex.Unlock()
}
Example #2
0
// Sets the state of modifier keys
func SetModState(modstate Mod) { C.SDL_SetModState(C.SDLMod(modstate)) }
Example #3
0
// Sets the state of modifier keys
func SetModState(modstate int32) {
	C.SDL_SetModState(C.SDL_Keymod(modstate))
}
Example #4
0
func SetModState(modstate Keymod) {
	_modstate := (C.SDL_Keymod)(modstate)
	C.SDL_SetModState(_modstate)
}
Example #5
0
// Set the current key modifier state
// This does not change the keyboard state, only the key modifier flags.
func SetModState(state int) {
	C.SDL_SetModState(C.SDLMod(state))
}
Example #6
0
func SetModState(mod Keymod) {
	C.SDL_SetModState(mod.c())
}