XKeycodeToKeysym

Syntax

KeySym XKeycodeToKeysym(display, keycode, index)
      Display *display;
      KeyCode keycode;
      int index;

Arguments

display Specifies the connection to the X server.
keycode Specifies the KeyCode.
index Specifies the element of KeyCode vector.

Description

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.

See also

XConvertCase(), XKeysymToKeycode(), XKeysymToString(), XLookupKeysym(), XStringToKeysym(), Keyboard Utility Functions.
Christophe Tronche, ch@tronche.com