Fixed documentation for glfwJoystickPresent.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent aaa955f51f
commit fdd4518ae5
  1. 8
      include/GLFW/glfw3.h

@ -1932,14 +1932,12 @@ GLFWAPI GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow* window, GLFWcu
*/
GLFWAPI GLFWscrollfun glfwSetScrollCallback(GLFWwindow* window, GLFWscrollfun cbfun);
/*! @brief Returns a parameter of the specified joystick.
/*! @brief Returns whether the specified joystick is present.
*
* This function returns a parameter of the specified joystick.
* This function returns whether the specified joystick is present.
*
* @param[in] joy The joystick to query.
* @param[in] param The parameter whose value to return.
* @return The specified joystick's current value, or zero if the joystick is
* not present.
* @return `GL_TRUE` if the joystick is present, or `GL_FALSE` otherwise.
*
* @ingroup input
*/

Loading…
Cancel
Save