Lines Matching refs:scancode
1159 static int translateKey(uint32_t scancode)
1161 if (scancode < sizeof(_glfw.wl.keycodes) / sizeof(_glfw.wl.keycodes[0]))
1162 return _glfw.wl.keycodes[scancode];
1187 static void inputText(_GLFWwindow* window, uint32_t scancode)
1190 const xkb_keycode_t keycode = scancode + 8;
1769 uint32_t scancode,
1776 const int key = translateKey(scancode);
1786 const xkb_keycode_t keycode = scancode + 8;
1791 _glfw.wl.keyRepeatScancode = scancode;
1804 _glfwInputKey(window, key, scancode, action, _glfw.wl.xkb.modifiers);
1807 inputText(window, scancode);
2687 const char* _glfwGetScancodeNameWayland(int scancode)
2689 if (scancode < 0 || scancode > 255)
2692 "Wayland: Invalid scancode %i",
2693 scancode);
2697 const int key = _glfw.wl.keycodes[scancode];
2701 const xkb_keycode_t keycode = scancode + 8;