logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XkbLookupKeySym - Find the symbol associated with a key for a particular state

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 consumed modifiers

       sym_rtrn
              backfilled with symbol associated with key + state

Description

XkbLookupKeySym 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.

Name

       XkbLookupKeySym - Find the symbol associated with a key for a particular state

See Also

XLookupKeySym(3)

X Version 11                                      libX11 1.8.12                               XkbLookupKeySym(3)

Synopsis

BoolXkbLookupKeySym(Display*dpy,KeyCodekey,unsignedintstate,unsignedint*mods_rtrn,KeySym*sym_rtrn);

See Also