1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-29 21:48:52 -05:00

Expanded cursor mode descriptions.

This commit is contained in:
Camilla Berglund 2013-12-05 03:27:12 +01:00
parent 5668eb0732
commit a18b187494

View File

@ -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