Beispiel #1
0
func GetEventState(type_ uint32) uint8 {
	return uint8(C.SDL_EventState(C.Uint32(type_), QUERY))
}
Beispiel #2
0
// EventState (https://wiki.libsdl.org/SDL_EventState)
func EventState(type_ uint32, state int) uint8 {
	return uint8(C.SDL_EventState(C.Uint32(type_), C.int(state)))
}
Beispiel #3
0
func EventState(type_ uint32, state int) uint8 {
	_type := (C.Uint32)(type_)
	_state := (C.int)(state)
	return (uint8)(C.SDL_EventState(_type, _state))
}
Beispiel #4
0
func GetEventState(type_ uint32) uint8 {
	_type := (C.Uint32)(type_)
	return (uint8)(C.SDL_EventState(_type, QUERY))
}
Beispiel #5
0
func EventState(t uint32, s int) uint8 {
	return uint8(C.SDL_EventState(C.Uint32(t), C.int(s)))
}