Lines Matching refs:joy
53 int joy, fd, version; in openJoystickDevice() local
56 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in openJoystickDevice()
58 if (!_glfw.linux_js.js[joy].present) in openJoystickDevice()
61 if (strcmp(_glfw.linux_js.js[joy].path, path) == 0) in openJoystickDevice()
65 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in openJoystickDevice()
67 if (!_glfw.linux_js.js[joy].present) in openJoystickDevice()
71 if (joy > GLFW_JOYSTICK_LAST) in openJoystickDevice()
90 js = _glfw.linux_js.js + joy; in openJoystickDevice()
104 _glfwInputJoystickChange(joy, GLFW_CONNECTED); in openJoystickDevice()
307 int _glfwPlatformJoystickPresent(int joy) in _glfwPlatformJoystickPresent() argument
309 _GLFWjoystickLinux* js = _glfw.linux_js.js + joy; in _glfwPlatformJoystickPresent()
313 const float* _glfwPlatformGetJoystickAxes(int joy, int* count) in _glfwPlatformGetJoystickAxes() argument
315 _GLFWjoystickLinux* js = _glfw.linux_js.js + joy; in _glfwPlatformGetJoystickAxes()
323 const unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count) in _glfwPlatformGetJoystickButtons() argument
325 _GLFWjoystickLinux* js = _glfw.linux_js.js + joy; in _glfwPlatformGetJoystickButtons()
333 const char* _glfwPlatformGetJoystickName(int joy) in _glfwPlatformGetJoystickName() argument
335 _GLFWjoystickLinux* js = _glfw.linux_js.js + joy; in _glfwPlatformGetJoystickName()