glfw (callbacks) | #1 | #2 |
---|---|---|
glfwSetCursorPosCallback | - | - |
glfwSetWindowPosCallback | - | - |
glfwSetMouseButtonCallback | - | - |
glfwSetCursorEnterCallback | - | - |
glfwSetScrollCallback | - | - |
glfwSetKeyCallback | - | - |
glfwSetCharCallback | - | - |
glfwSetWindowSizeCallback | - | - |
glfwSetFramebufferSizeCallback | - | - |
glfwSetWindowFocusCallback | - | - |
glfwSetWindowContentScaleCallback | - | - |
glfwSetJoystickCallback | - |
glfw (direct) | #1 | #2 |
---|---|---|
glfwGetCursorPos | - | - |
glfwGetWindowPos | - | - |
glfwGetInputMode(GLFW_CURSOR) | - | - |
glfwGetMouseButton | - | - |
glfwGetKey | - | - |
glfwGetKey [Left] | - | - |
glfwGetWindowSize | - | - |
glfwGetFramebufferSize | - | - |
glfwGetWindowContentScale | - | - |
glfwGetWindowOpacity | - | - |
glfwGetWindowTitle | - | - |
glfwGetWindowAttrib(GLFW_VISIBLE) | - | - |
glfwGetWindowAttrib(GLFW_HOVERED) | - | - |
glfwGetWindowAttrib(GLFW_FOCUSED) | - | - |
glfwGetWindowAttrib(GLFW_RESIZABLE) | - | - |
glfwGetWindowAttrib(GLFW_SCALE_TO_MONITOR) | - | - |
glfwGetWindowAttrib(GLFW_SCALE_FRAMEBUFFER) | - | - |
glfwGetTime | - | |
glfwGetTimerValue | - | |
glfwGetClipboardString | - | |
glfwGetJoystickName | - | |
glfwGetJoystickGUID | - | |
glfwJoystickIsGamepad | - | |
glfwGetJoystickAxes | - | |
glfwGetJoystickButtons | - | |
glfwGetJoystickHats | - | |
glfwGetGamepadState(axes) | - | |
glfwGetGamepadState(buttons) | - |
Action | #1 | #2 |
---|---|---|
glfwSetWindowSize | ||
glfwSetWindowOpacity | ||
glfwShowWindow / glfwHideWindow | ||
glfwSetWindowAttrib(GLFW_RESIZABLE) | - | |
glfwSetWindowSizeLimits(150x100, 300x200) | - | |
glfwSetWindowAspectRatio(3:2) | - | |
glfwSetWindowTitle | ||
glfwSetWindowShouldClose | ||
Hi DPI Aware | ||
Enable/Disable | ||
Left Mouse Click | ||
Left Mouse Release | ||
Fullscreen | ||
Fullscreen (no target) | ||
Change focus | ||
Exit main loop |
Action | Use - + <key> |
---|---|
Copy/Cut (title) | "C"/"X" |
Paste | "V" |
Hide/Show Cursor | "H" |
Lock/Unlock Cursor | "L" (ESC will unlock as well) |
Cycle Cursor | "[" & "]" |
Toggle Hi DPI Aware | "4" |