Home | History | Annotate | Download | only in unix

Lines Matching refs:keysym

2  * This module converts keysym values into the corresponding ISO 10646
5 * The array keysymtab[] contains pairs of X11 keysym values for graphical
7 * keysym2ucs() maps a keysym onto a Unicode value using a binary search,
8 * therefore keysymtab[] must remain SORTED by keysym value.
10 * The keysym -> UTF-8 conversion will hopefully one day be provided
15 * U-00FFFFFF by a keysym value in the range 0x01000000 to 0x01ffffff.
20 * U+ABCD you can directly use keysym 0x0100abcd.
40 unsigned short keysym;
818 long keysym2ucs(KeySym keysym)
825 if ((keysym >= 0x0020 && keysym <= 0x007e) ||
826 (keysym >= 0x00a0 && keysym <= 0x00ff))
827 return keysym;
830 if ((keysym & 0xff000000) == 0x01000000)
831 return keysym & 0x00ffffff;
836 if (keysymtab[mid].keysym < keysym)
838 keysym > keysym)