예제 #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()
}