XkbLookupKeySym(3Xkb) XKB FUNCTION XkbLookupKeySym(3Xkb)NAMEXkbLookupKeySym - Find the symbol associated with a key for a particuā
lar state
SYNOPSIS
Bool XkbLookupKeySym ( dpy, key, state, mods_rtrn, sym_rtrn )
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 + state
DESCRIPTIONXkbLookupKeySym is the equivalent of the core XLookupKeySym function.
For the core keyboard, given a keycode key and an Xkb state state,
XkbLookupKeySym returns the symbol associated 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 ALSOXLookupKeySym(3X11)X v11 Rel. 6.4 21 Jul 1999 XkbLookupKeySym(3Xkb)