示例#1
0
文件: input.go 项目: godispy/glfw
// GetJoystickPresent returns whether the specified joystick is present.
func JoystickPresent(joy Joystick) bool {
	ret := glfwbool(C.glfwJoystickPresent(C.int(joy)))
	panicError()
	return ret
}
示例#2
0
//GetJoystickPresent returns whether the specified joystick is present.
func JoystickPresent(joy Joystick) bool {
	return glfwbool(C.glfwJoystickPresent(C.int(joy)))
}