NAME
XKeysymToKeycode — convert a keysym to the appropriate keycode.
SYNOPSIS
KeyCode XKeysymToKeycode(display, keysym) Display ∗display; Keysym keysym;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
keysymSpecifies the keysym that is to be searched for.
RETURNS
The keycode.
DESCRIPTION
XKeysymToKeycode() returns the keycode corresponding to the specified keysym in the current mapping. If the specified keysym is not defined for any keycode, XKeysymToKeycode() returns zero.
SEE ALSO
IsCursorKey(), IsFunctionKey(), IsKeypadKey(), IsMiscFunctionKey(), IsModifierKey(), IsPFKey(), XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XDisplayKeycodes(), XFreeModifiermap(), XGetKeyboardMapping(), XGetModifierMapping(), XInsertModifiermapEntry(), XKeycodeToKeysym(), XKeysymToString(), XLookupKeysym(), XLookupString(), XNewModifiermap(), XQueryKeymap(), XRebindKeysym(), XRefreshKeyboardMapping(), XSetModifierMapping(), XStringToKeysym().
Xlib Reference Manual