From 7a0012a1a29aa1d0d9c6b0492e85cf353fe827d3 Mon Sep 17 00:00:00 2001 From: Grzesiek11 Date: Sat, 18 Nov 2023 03:38:42 +0100 Subject: [PATCH] Mention non-named mouse buttons in docs --- include/GLFW/glfw3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index d73d9826..be0958cf 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -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.