示例#1
0
文件: sdl.go 项目: kearsley/Go-SDL
// 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()
}
示例#2
0
func Update() {
	C.SDL_JoystickUpdate()
}