mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Expanded cursor mode descriptions.
This commit is contained in:
parent
5668eb0732
commit
a18b187494
|
@ -1765,9 +1765,12 @@ GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
|
||||||
* modes:
|
* modes:
|
||||||
* - `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally.
|
* - `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally.
|
||||||
* - `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the client
|
* - `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the client
|
||||||
* area of the window.
|
* area of the window but does not restrict the cursor from leaving. This is
|
||||||
* - `GLFW_CURSOR_DISABLED` disables the cursor and removes any limitations on
|
* useful if you wish to render your own cursor or have no visible cursor at
|
||||||
* cursor movement.
|
* all.
|
||||||
|
* - `GLFW_CURSOR_DISABLED` hides and grabs the cursor, providing virtual
|
||||||
|
* and unlimited cursor movement. This is useful for implementing for
|
||||||
|
* example 3D camera controls.
|
||||||
*
|
*
|
||||||
* If `mode` is `GLFW_STICKY_KEYS`, the value must be either `GL_TRUE` to
|
* If `mode` is `GLFW_STICKY_KEYS`, the value must be either `GL_TRUE` to
|
||||||
* enable sticky keys, or `GL_FALSE` to disable it. If sticky keys are
|
* enable sticky keys, or `GL_FALSE` to disable it. If sticky keys are
|
||||||
|
|
Loading…
Reference in New Issue
Block a user