Lines Matching refs:joy
127 void _glfwInputJoystickChange(int joy, int event) in _glfwInputJoystickChange() argument
130 _glfw.callbacks.joystick(joy, event); in _glfwInputJoystickChange()
543 GLFWAPI int glfwJoystickPresent(int joy) in glfwJoystickPresent() argument
547 if (joy < 0 || joy > GLFW_JOYSTICK_LAST) in glfwJoystickPresent()
549 _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick %i", joy); in glfwJoystickPresent()
553 return _glfwPlatformJoystickPresent(joy); in glfwJoystickPresent()
556 GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count) in glfwGetJoystickAxes() argument
563 if (joy < 0 || joy > GLFW_JOYSTICK_LAST) in glfwGetJoystickAxes()
565 _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick %i", joy); in glfwGetJoystickAxes()
569 return _glfwPlatformGetJoystickAxes(joy, count); in glfwGetJoystickAxes()
572 GLFWAPI const unsigned char* glfwGetJoystickButtons(int joy, int* count) in glfwGetJoystickButtons() argument
579 if (joy < 0 || joy > GLFW_JOYSTICK_LAST) in glfwGetJoystickButtons()
581 _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick %i", joy); in glfwGetJoystickButtons()
585 return _glfwPlatformGetJoystickButtons(joy, count); in glfwGetJoystickButtons()
588 GLFWAPI const char* glfwGetJoystickName(int joy) in glfwGetJoystickName() argument
592 if (joy < 0 || joy > GLFW_JOYSTICK_LAST) in glfwGetJoystickName()
594 _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick %i", joy); in glfwGetJoystickName()
598 return _glfwPlatformGetJoystickName(joy); in glfwGetJoystickName()