作者:kearsle
项目:Go-SD
// 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()
}
作者:TomMurra
项目:go-sdl
func Update() {
C.SDL_JoystickUpdate()
}