Lines Matching defs:keysym
39 * This module converts keysym values into the corresponding ISO 10646
42 * The array keysymtab[] contains pairs of X11 keysym values for graphical
44 * _glfwKeySym2Unicode() maps a keysym onto a Unicode value using a binary
45 * search, therefore keysymtab[] must remain SORTED by keysym value.
48 * U-00FFFFFF by a keysym value in the range 0x01000000 to 0x01ffffff.
53 * U+ABCD you can directly use keysym 0x0100abcd.
69 unsigned short keysym;
909 uint32_t _glfwKeySym2Unicode(unsigned int keysym)
916 if ((keysym >= 0x0020 && keysym <= 0x007e) ||
917 (keysym >= 0x00a0 && keysym <= 0x00ff))
919 return keysym;
923 if ((keysym & 0xff000000) == 0x01000000)
924 return keysym & 0x00ffffff;
930 if (keysymtab[mid].keysym < keysym)
932 else if (keysymtab[mid].keysym > keysym)