/third_party/glfw/deps/ |
H A D | nuklear_glfw_gl2.h | 222 if (action == GLFW_PRESS) { in nk_glfw3_mouse_button_callback() 317 nk_input_key(ctx, NK_KEY_DEL, glfwGetKey(win, GLFW_KEY_DELETE) == GLFW_PRESS); in nk_glfw3_new_frame() 318 nk_input_key(ctx, NK_KEY_ENTER, glfwGetKey(win, GLFW_KEY_ENTER) == GLFW_PRESS); in nk_glfw3_new_frame() 319 nk_input_key(ctx, NK_KEY_TAB, glfwGetKey(win, GLFW_KEY_TAB) == GLFW_PRESS); in nk_glfw3_new_frame() 320 nk_input_key(ctx, NK_KEY_BACKSPACE, glfwGetKey(win, GLFW_KEY_BACKSPACE) == GLFW_PRESS); in nk_glfw3_new_frame() 321 nk_input_key(ctx, NK_KEY_UP, glfwGetKey(win, GLFW_KEY_UP) == GLFW_PRESS); in nk_glfw3_new_frame() 322 nk_input_key(ctx, NK_KEY_DOWN, glfwGetKey(win, GLFW_KEY_DOWN) == GLFW_PRESS); in nk_glfw3_new_frame() 323 nk_input_key(ctx, NK_KEY_TEXT_START, glfwGetKey(win, GLFW_KEY_HOME) == GLFW_PRESS); in nk_glfw3_new_frame() 324 nk_input_key(ctx, NK_KEY_TEXT_END, glfwGetKey(win, GLFW_KEY_END) == GLFW_PRESS); in nk_glfw3_new_frame() 325 nk_input_key(ctx, NK_KEY_SCROLL_START, glfwGetKey(win, GLFW_KEY_HOME) == GLFW_PRESS); in nk_glfw3_new_frame() [all...] |
/third_party/glfw/src/ |
H A D | input.c | 277 assert(action == GLFW_PRESS || action == GLFW_RELEASE); in _glfwInputKey() 287 if (action == GLFW_PRESS && window->keys[key] == GLFW_PRESS) in _glfwInputKey() 351 assert(action == GLFW_PRESS || action == GLFW_RELEASE); in _glfwInputMouseClick() 450 assert(value == GLFW_PRESS || value == GLFW_RELEASE); in _glfwInputJoystickButton() 473 js->buttons[base + 0] = (value & 0x01) ? GLFW_PRESS : GLFW_RELEASE; in _glfwInputJoystickHat() 474 js->buttons[base + 1] = (value & 0x02) ? GLFW_PRESS : GLFW_RELEASE; in _glfwInputJoystickHat() 475 js->buttons[base + 2] = (value & 0x04) ? GLFW_PRESS : GLFW_RELEASE; in _glfwInputJoystickHat() 476 js->buttons[base + 3] = (value & 0x08) ? GLFW_PRESS : GLFW_RELEASE; in _glfwInputJoystickHat() 762 return GLFW_PRESS; in glfwGetKey() [all...] |
H A D | win32_window.c | 713 const int action = (HIWORD(lParam) & KF_UP) ? GLFW_RELEASE : GLFW_PRESS; in windowProc() 794 _glfwInputKey(window, key, scancode, GLFW_PRESS, mods); in windowProc() 828 action = GLFW_PRESS; in windowProc() 835 if (window->mouseButtons[i] == GLFW_PRESS) in windowProc() 846 if (window->mouseButtons[i] == GLFW_PRESS) in windowProc() 2160 if (window->keys[key] != GLFW_PRESS) in _glfwPollEventsWin32()
|
H A D | x11_window.c | 1262 _glfwInputKey(window, key, keycode, GLFW_PRESS, mods); in processEvent() 1305 _glfwInputKey(window, key, keycode, GLFW_PRESS, mods); in processEvent() 1361 _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_LEFT, GLFW_PRESS, mods); in processEvent() 1363 _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_MIDDLE, GLFW_PRESS, mods); in processEvent() 1365 _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_RIGHT, GLFW_PRESS, mods); in processEvent() 1383 GLFW_PRESS, in processEvent()
|
H A D | linux_joystick.c | 54 value ? GLFW_PRESS : GLFW_RELEASE); in handleKeyEvent()
|
/third_party/glfw/tests/ |
H A D | iconify.c | 61 action == GLFW_PRESS ? "pressed" : "released"); in key_callback() 63 if (action != GLFW_PRESS) in key_callback()
|
H A D | timeout.c | 47 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) in key_callback()
|
H A D | empty.c | 66 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) in key_callback()
|
H A D | clipboard.c | 58 if (action != GLFW_PRESS) in key_callback()
|
H A D | icon.c | 96 if (action != GLFW_PRESS) in key_callback()
|
H A D | msaa.c | 80 if (action != GLFW_PRESS) in key_callback()
|
H A D | threads.c | 59 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) in key_callback()
|
H A D | gamma.c | 60 if (action == GLFW_PRESS && key == GLFW_KEY_ESCAPE) in key_callback()
|
H A D | tearing.c | 99 if (action != GLFW_PRESS) in key_callback()
|
H A D | reopen.c | 83 if (action != GLFW_PRESS) in key_callback()
|
H A D | events.c | 202 case GLFW_PRESS: in get_action_name() 433 if (action != GLFW_PRESS) in key_callback()
|
H A D | inputlag.c | 135 if (action != GLFW_PRESS) in key_callback()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_glfw.cpp | 124 if (action == GLFW_PRESS && button >= 0 && button < IM_ARRAYSIZE(bd->MouseJustPressed)) in ImGui_ImplGlfw_MouseButtonCallback() 148 if (action == GLFW_PRESS) in ImGui_ImplGlfw_KeyCallback() 400 #define MAP_BUTTON(NAV_NO, BUTTON_NO) { if (buttons_count > BUTTON_NO && buttons[BUTTON_NO] == GLFW_PRESS) io.NavInputs[NAV_NO] = 1.0f; } in ImGui_ImplGlfw_UpdateGamepads()
|
/third_party/glfw/examples/ |
H A D | wave.c | 278 if (action != GLFW_PRESS) in key_callback() 324 if (action == GLFW_PRESS) in mouse_button_callback()
|
H A D | triangle-opengl.c | 79 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) in key_callback()
|
H A D | triangle-opengles.c | 79 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) in key_callback()
|
H A D | sharing.c | 72 if (action == GLFW_PRESS && key == GLFW_KEY_ESCAPE) in key_callback()
|
H A D | boing.c | 242 if (action != GLFW_PRESS) in key_callback() 281 if (action == GLFW_PRESS) in mouse_button_callback()
|
H A D | splitview.c | 457 if ((button == GLFW_MOUSE_BUTTON_LEFT) && action == GLFW_PRESS) in mouseButtonFun() 477 if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) in key_callback()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | ManualSwapChainTest.cpp | 210 if (action != GLFW_PRESS) { in OnKeyPress()
|