Esempio n. 1
0
// GetJoystickPresent returns whether the specified joystick is present.
func JoystickPresent(joy Joystick) bool {
	ret := glfwbool(C.glfwJoystickPresent(C.int(joy)))
	panicError()
	return ret
}
Esempio n. 2
0
//GetJoystickPresent returns whether the specified joystick is present.
func JoystickPresent(joy Joystick) bool {
	return glfwbool(C.glfwJoystickPresent(C.int(joy)))
}