// Update the current state of the open joysticks. This is called // automatically by the event loop if any joystick events are enabled. func JoystickUpdate() { GlobalMutex.Lock() C.SDL_JoystickUpdate() GlobalMutex.Unlock() }
func Update() { C.SDL_JoystickUpdate() }