XStringToKeysym, XKeysymToString, XKeycodeToKeysym,
XKeysymToKeycode, XConvertCase - convert keysyms
SYNTAX
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;
ARGUMENTS
display Specifies the connection to the X server.
index Specifies the element of KeyCode vector.
keycode Specifies the KeyCode.
keysym Specifies the KeySym that is to be searched for
or converted.
lower_return
Returns the lowercase form of keysym, or keysym.
string Specifies the name of the KeySym that is to be
converted.
upper_return
Returns the uppercase form of keysym, or keysym.
DESCRIPTION
Standard KeySym names are obtained from <X11/keysymdef.h>
by removing the XK_ prefix from each name. KeySyms that
are not part of the Xlib standard also may be obtained
with this function. The set of KeySyms that are available
in this manner and the mechanisms by which Xlib obtains
them is implementation-dependent.
If the KeySym name is not in the Host Portable Character
If the specified KeySym is not defined for any KeyCode,
XKeysymToKeycode returns zero.
The XConvertCase function returns the uppercase and lower-
case forms of the specified Keysym, if the KeySym is sub-
ject to case conversion; otherwise, the specified KeySym
is returned to both lower_return and upper_return. Sup-
port for conversion of other than Latin and Cyrillic
KeySyms is implementation-dependent.
SEE ALSO
XLookupKeysym(3X11)
Xlib - C Language X Interface
X Version 11 Release 6.4 1