Lines Matching refs:joy
335 int joy = 0; in deviceCallback() local
342 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in deviceCallback()
344 if (memcmp(&_glfw.win32_js[joy].guid, &di->guidInstance, sizeof(GUID)) == 0) in deviceCallback()
348 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in deviceCallback()
350 if (!_glfw.win32_js[joy].present) in deviceCallback()
354 if (joy > GLFW_JOYSTICK_LAST) in deviceCallback()
429 js = _glfw.win32_js + joy; in deviceCallback()
441 _glfwInputJoystickChange(joy, GLFW_CONNECTED); in deviceCallback()
450 int joy; in openXinputDevice() local
454 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in openXinputDevice()
456 if (_glfw.win32_js[joy].present && in openXinputDevice()
457 _glfw.win32_js[joy].device == NULL && in openXinputDevice()
458 _glfw.win32_js[joy].index == index) in openXinputDevice()
464 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in openXinputDevice()
466 if (!_glfw.win32_js[joy].present) in openXinputDevice()
470 if (joy > GLFW_JOYSTICK_LAST) in openXinputDevice()
476 js = _glfw.win32_js + joy; in openXinputDevice()
485 _glfwInputJoystickChange(joy, GLFW_CONNECTED); in openXinputDevice()
678 int joy; in _glfwTerminateJoysticksWin32() local
680 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in _glfwTerminateJoysticksWin32()
681 closeJoystick(_glfw.win32_js + joy); in _glfwTerminateJoysticksWin32()
718 int joy; in _glfwDetectJoystickDisconnectionWin32() local
720 for (joy = GLFW_JOYSTICK_1; joy <= GLFW_JOYSTICK_LAST; joy++) in _glfwDetectJoystickDisconnectionWin32()
721 pollJoystickState(_glfw.win32_js + joy, _GLFW_PRESENCE_ONLY); in _glfwDetectJoystickDisconnectionWin32()
729 int _glfwPlatformJoystickPresent(int joy) in _glfwPlatformJoystickPresent() argument
731 _GLFWjoystickWin32* js = _glfw.win32_js + joy; in _glfwPlatformJoystickPresent()
735 const float* _glfwPlatformGetJoystickAxes(int joy, int* count) in _glfwPlatformGetJoystickAxes() argument
737 _GLFWjoystickWin32* js = _glfw.win32_js + joy; in _glfwPlatformGetJoystickAxes()
745 const unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count) in _glfwPlatformGetJoystickButtons() argument
747 _GLFWjoystickWin32* js = _glfw.win32_js + joy; in _glfwPlatformGetJoystickButtons()
755 const char* _glfwPlatformGetJoystickName(int joy) in _glfwPlatformGetJoystickName() argument
757 _GLFWjoystickWin32* js = _glfw.win32_js + joy; in _glfwPlatformGetJoystickName()