From e93bade2407a16aa0138d92497e6149398111522 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 16 Jun 2013 02:33:33 +0200 Subject: [PATCH] Fixed docs for glfwGetJoystickButtons. --- include/GLFW/glfw3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 4887ba33..c54abde8 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -2006,14 +2006,14 @@ GLFWAPI int glfwJoystickPresent(int joy); */ GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count); -/*! @brief Returns the values of all buttons of the specified joystick. +/*! @brief Returns the state of all buttons of the specified joystick. * - * This function returns the values of all buttons of the specified joystick. + * This function returns the state of all buttons of the specified joystick. * * @param[in] joy The joystick to query. * @param[out] count Where to store the size of the returned array. This is * set to zero if an error occurred. - * @return An array of axis values, or `NULL` if the joystick is not present. + * @return An array of button states, or `NULL` if the joystick is not present. * * @note The returned array is allocated and freed by GLFW. You should not * free it yourself.