Use the term 'supported (mouse button)' rather than 'named'

This updates the terminology to be in line with the changes in 9959dc6.
This commit is contained in:
Grzesiek11 2024-01-03 03:18:55 +01:00
parent 747d0729fd
commit a255fd8ef9
No known key found for this signature in database
GPG Key ID: 4A5445FB68CDB5C4

View File

@ -5198,13 +5198,13 @@ GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* window, GLFWcharmods
* is called when a mouse button is pressed or released.
*
* When a window loses input focus, it will generate synthetic mouse button
* release events for all pressed named mouse buttons. You can tell these
* release events for all pressed supported mouse buttons. You can tell these
* events from user-generated events by the fact that the synthetic ones are
* generated after the focus loss event has been processed, i.e. after the
* [window focus callback](@ref glfwSetWindowFocusCallback) has been called.
*
* The reported `button` value can be higher than `GLFW_MOUSE_BUTTON_LAST` if
* the button is not a [named button](@ref buttons) and the
* the button is not a [supported button](@ref buttons) and the
* @ref GLFW_MOUSE_BUTTON_LIMIT init hint is set to `GLFW_FALSE`.
*
* @param[in] window The window whose callback to set.