XkbLookupKeySym - Find the symbol associated with a key for a particular state
Bool XkbLookupKeySym(Display *dpy,KeyCode key,unsigned int state,unsigned int *mods_rtrn,KeySym *sym_rtrn);
connection to X server
key for which symbols are to be found
state for which symbol should be found
backfilled with unconsumed modifiers
backfilled with symbol associated with key + state
is the equivalent of the core
function. For the core keyboard, given a keycode
and an Xkb state
returns the symbol associated with the key in
and the list of modifiers that should still be applied in
parameter is the state from a KeyPress or KeyRelease event.
returns True if it succeeds.