XKB FUNCTIONS XkbLookupKeySym(3x11)
NAME
XkbLookupKeySym - Find the symbol associated with a key for
a particular stateSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Bool XkbLookupKeySym (Display *dpy, KeyCode key, unsigned
int state, unsigned int *mods_rtrn, KeySym *sym_rtrn);
ARGUMENTS- dpy
connection to X server- key
key for which symbols are to be found- state
state for which symbol should be found- mods_rtrn
backfilled with unconsumed modifiers- sym_rtrn
backfilled with symbol associated with key + stateDESCRIPTION
XkbLookupKeySym is the equivalent of the core XLookupKeySym
function. For the core keyboard, given a keycode key and anXkb state state, XkbLookupKeySym returns the symbol associ-
ated with the key in sym_rtrn and the list of modifiers that
should still be applied in mods_rtrn. The state parameter is
the state from a KeyPress or KeyRelease event.XkbLookupKeySym returns True if it succeeds.
SEE ALSO
XLookupKeySym(3x11)ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes: X Version 11 Last change: libX11 1.3.5 1XKB FUNCTIONS XkbLookupKeySym(3x11)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2