Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XKeycodeToKeysym − convert a keycode to a keysym.

Synopsis

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

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

keycodeSpecifies the keycode. 

indexSpecifies which keysym in the list for the keycode to return. 

Description

XKeycodeToKeysym() returns one of the keysyms defined for the specified keycode.  XKeycodeToKeysym() uses internal Xlib tables.  index specifies which keysym in the array of keysyms corresponding to a keycode should be returned.  If no symbol is defined, XKeycodeToKeysym() returns NoSymbol. 

See Also

IsCursorKey(), IsFunctionKey(), IsKeypadKey(), IsMiscFunctionKey(), IsModifierKey(), IsPFKey(), XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XDisplayKeycodes(), XFreeModifiermap(), XGetKeyboardMapping(), XGetModifierMapping(), XInsertModifiermapEntry(), XKeysymToKeycode(), XKeysymToString(), XLookupKeysym(), XLookupString(), XNewModifierMap, XQueryKeymap(), XRebindKeySym, XRefreshKeyboardMapping(), XSetModifierMapping(), XStringToKeysym(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026