mirror of
https://github.com/glfw/glfw.git
synced 2025-06-06 15:54:56 +00:00
Specify that mouse buttons can only exceed the last named button when the init hint is set
This commit is contained in:
parent
4bc709b952
commit
747d0729fd
@ -5204,7 +5204,8 @@ GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* window, GLFWcharmods
|
||||
* [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).
|
||||
* the button is not a [named 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.
|
||||
* @param[in] callback The new callback, or `NULL` to remove the currently set
|
||||
|
Loading…
Reference in New Issue
Block a user