glfwGetInputMode¶
Returns the value of an input option for the specified window.
This function returns the value of an input option for the specified window.
The mode must be one of GLFW_CURSOR
, GLFW_STICKY_KEYS
,
GLFW_STICKY_MOUSE_BUTTONS
, GLFW_LOCK_KEY_MODS
or
GLFW_RAW_MOUSE_MOTION
.
- arguments
-
\GLFWwindow
$window
The window to query.int
$mode
One ofGLFW_CURSOR
,GLFW_STICKY_KEYS
,GLFW_STICKY_MOUSE_BUTTONS
,GLFW_LOCK_KEY_MODS
orGLFW_RAW_MOUSE_MOTION
.
- returns
-
int