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$windowThe window to query.int$modeOne ofGLFW_CURSOR,GLFW_STICKY_KEYS,GLFW_STICKY_MOUSE_BUTTONS,GLFW_LOCK_KEY_MODSorGLFW_RAW_MOUSE_MOTION.
- returns
-
int