1. NAME▲
XkbLookupKeySym - Find the symbol associated with a key for a particular state
2. SYNOPSIS ▲
Bool XkbLookupKeySym (Display * dpy , KeyCode key , unsigned int state , unsigned int * mods_rtrn , KeySym * sym_rtrn );
3. 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
4. DESCRIPTION ▲
XkbLookupKeySymis the equivalent of the core XLookupKeySymfunction. For the core keyboard, given a keycode keyand an Xkb state state, XkbLookupKeySymreturns the symbol associated with the key in sym_rtrnand the list of modifiers that should still be applied in mods_rtrn.The stateparameter is the state from a KeyPress or KeyRelease event. XkbLookupKeySymreturns True if it succeeds.
5. SEE ALSO ▲
R XLookupKeySym (3)