Lines Matching refs:joy
275 int joy;
277 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++)
279 if (_glfw.ns_js[joy].present && _glfw.ns_js[joy].deviceRef == deviceRef)
283 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++)
285 if (!_glfw.ns_js[joy].present)
289 if (joy > GLFW_JOYSTICK_LAST)
292 js = _glfw.ns_js + joy;
327 _glfwInputJoystickChange(joy, GLFW_CONNECTED);
337 int joy;
339 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++)
341 if (_glfw.ns_js[joy].deviceRef == deviceRef)
343 removeJoystick(_glfw.ns_js + joy);
459 int joy;
461 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++)
463 _GLFWjoystickNS* js = _glfw.ns_js + joy;
476 int _glfwPlatformJoystickPresent(int joy)
478 _GLFWjoystickNS* js = _glfw.ns_js + joy;
482 const float* _glfwPlatformGetJoystickAxes(int joy, int* count)
484 _GLFWjoystickNS* js = _glfw.ns_js + joy;
492 const unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count)
494 _GLFWjoystickNS* js = _glfw.ns_js + joy;
503 const char* _glfwPlatformGetJoystickName(int joy)
505 _GLFWjoystickNS* js = _glfw.ns_js + joy;