KeySym XStringToKeysym(string) char *string;char *XKeysymToString(keysym) KeySym keysym;
KeySym XKeycodeToKeysym(display, keycode, index) Display *display; KeyCode keycode; int index;
KeyCode XKeysymToKeycode(display, keysym) Display *display; KeySym keysym;
void XConvertCase(keysym, lower_return, upper_return) KeySym keysym; KeySym *lower_return; KeySym *upper_return;
If the keysym name is not in the Host Portable Character Encoding, the result is implementation-dependent. If the specified string does not match a valid KeySym, XStringToKeysym returns NoSymbol.
The returned string is in a static area and must not be modified. The returned string is in the Host Portable Character Encoding. If the specified KeySym is not defined, XKeysymToString returns a NULL.
The XKeycodeToKeysym function uses internal Xlib tables and returns the KeySym defined for the specified KeyCode and the element of the KeyCode vector. If no symbol is defined, XKeycodeToKeysym returns NoSymbol.
If the specified KeySym is not defined for any KeyCode, XKeysymToKeycode returns zero.
The XConvertCase function returns the uppercase and lowercase forms of the specified Keysym, if the KeySym is subject to case conversion; otherwise, the specified KeySym is returned to both lower_return and upper_return. Support for conversion of other than Latin and Cyrillic KeySyms is implementation-dependent.