1XkbLookupKeySym(3) XKB FUNCTIONS XkbLookupKeySym(3)
2
3
4
6 XkbLookupKeySym - Find the symbol associated with a key for a particu‐
7 lar state
8
10 Bool XkbLookupKeySym (Display *dpy, KeyCode key, unsigned int state,
11 unsigned int *mods_rtrn, KeySym *sym_rtrn);
12
14 dpy connection to X server
15
16 key key for which symbols are to be found
17
18 state state for which symbol should be found
19
20 mods_rtrn
21 backfilled with consumed modifiers
22
23 sym_rtrn
24 backfilled with symbol associated with key + state
25
27 XkbLookupKeySym is the equivalent of the core XLookupKeySym function.
28 For the core keyboard, given a keycode key and an Xkb state state, Xk‐
29 bLookupKeySym returns the symbol associated with the key in sym_rtrn
30 and the list of modifiers that should still be applied in mods_rtrn.
31 The state parameter is the state from a KeyPress or KeyRelease event.
32 XkbLookupKeySym returns True if it succeeds.
33
35 XLookupKeySym(3)
36
37
38
39
40X Version 11 libX11 1.8.7 XkbLookupKeySym(3)