Mention non-named mouse buttons in docs

This commit is contained in:
Grzesiek11 2023-11-18 03:38:42 +01:00
parent 9f6bf2ca39
commit 7a0012a1a2
No known key found for this signature in database
GPG Key ID: 4A5445FB68CDB5C4

View File

@ -5198,6 +5198,9 @@ GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* window, GLFWcharmods
* 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).
*
* @param[in] window The window whose callback to set.
* @param[in] callback The new callback, or `NULL` to remove the currently set
* callback.