From 04cf328ca6d042bdbf6b99034f2df38baf6ae0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=C3=ABl=20Seghezzi?= Date: Fri, 8 Mar 2019 18:34:35 +0100 Subject: [PATCH] Add cursor and proximity docu --- include/GLFW/glfw3.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index a7ff89a70..83bb03edb 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -1534,8 +1534,9 @@ typedef void (* GLFWpentabletdatafun)(double,double,double,double,double,double, /*! @brief The function signature for pen tablet cursor callbacks. * * This is the function signature for pen tablet cursor callback functions. + * It is called when the tablet cursor is changed, from stylus to eraser for example. * - * @param[in] pen cursor identifier. + * @param[in] pen cursor identifier. 1 is usually a stylus, 2 and 3 an eraser. * * @sa @ref pen_tablet_cursor * @sa @ref glfwSetPenTabletCursorCallback @@ -1549,8 +1550,9 @@ typedef void (* GLFWpentabletcursorfun)(unsigned int); /*! @brief The function signature for pen tablet proximity callbacks. * * This is the function signature for pen tablet proximity callback functions. + * It is called when a tablet device (pen etc) entering or is exiting tablet proximity. * - * @param[in] pen proximity state. + * @param[in] pen proximity state. 1 = entering, 0 = exiting. * * @sa @ref pen_tablet_proximity * @sa @ref glfwSetPenTabletProximityCallback