Lines Matching refs:scancode
238 static int translateKey(int scancode)
241 if (scancode < 0 || scancode > 255)
244 return _glfw.x11.keycodes[scancode];
1151 // HACK: Save scancode as some IMs clear the field in XFilterEvent
2901 const char* _glfwGetScancodeNameX11(int scancode)
2906 if (scancode < 0 || scancode > 0xff)
2908 _glfwInputError(GLFW_INVALID_VALUE, "Invalid scancode %i", scancode);
2912 const int key = _glfw.x11.keycodes[scancode];
2917 scancode, _glfw.x11.xkb.group, 0);