// Enable/disable joystick event polling. If joystick events are // disabled, you must call SDL_JoystickUpdate() yourself and check the // state of the joystick when you want joystick information. The state // can be one of SDL_QUERY, SDL_ENABLE or SDL_IGNORE. func JoystickEventState(state int) int { GlobalMutex.Lock() result := int(C.SDL_JoystickEventState(C.int(state))) GlobalMutex.Unlock() return result }
func JoystickEventState(state int) int { _state := (C.int)(state) return (int)(C.SDL_JoystickEventState(_state)) }
func JoystickEventState(flag int) int { return int(C.SDL_JoystickEventState(C.int(flag))) }
// JoystickEventState (https://wiki.libsdl.org/SDL_JoystickEventState) func JoystickEventState(state int) int { return (int)(C.SDL_JoystickEventState(C.int(state))) }
// Enable/disable joystick event polling. If joystick events are // disabled, you must call SDL_JoystickUpdate() yourself and check the // state of the joystick when you want joystick information. The state // can be one of SDL_QUERY, SDL_ENABLE or SDL_IGNORE. func JoystickEventState(state int) int { result := int(C.SDL_JoystickEventState(C.int(state))) return result }