From fdd4518ae5ab9ebba5f096d1888195387fa66013 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 27 May 2013 15:13:09 +0200 Subject: [PATCH] Fixed documentation for glfwJoystickPresent. --- include/GLFW/glfw3.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index cb151360..127b263f 100644 --- a/include/GLFW/glfw3.h +++ b/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 */