1XkbLookupKeyBinding(3) XKB FUNCTIONS XkbLookupKeyBinding(3)
2
3
4
6 XkbLookupKeyBinding - Find the string bound to a key by XRebindKeySym
7
9 int XkbLookupKeyBinding (Display *dpy, KeySym sym, unsigned int state,
10 char *buf, int nbytes, int *extra_rtrn);
11
13 - dpy connection to server
14
15 - sym connection to server
16
17 - state
18 state for which string is to be looked up
19
20 - buf buffer into which returned string is written
21
22 - nbytes
23 size of buffer in bytes
24
25 - extra_rtrn
26 backfilled with number bytes overflow
27
29 XkbLookupKeyBinding is the equivalent of the core XLookupString func‐
30 tion.
31
32 XRebindKeysym binds an ASCII string to a specified keysym, so that the
33 string and keysym are returned when the key is pressed and a specified
34 list of modifiers are also being held down. XkbLookupKeyBinding
35 returns in buf the string associated with the keysym sym and modifier
36 state state. buf is NULL terminated unless there's an overflow. If the
37 string returned is larger than nbytes, a count of bytes that does not
38 fit into the buffer is returned in extra_rtrn. XkbTranslateKeySym
39 returns the number of bytes that it placed into buf.
40
42 XkbTranslateKeySym(3), XLookupString(3), XRebindKeysym(3)
43
44
45
46X Version 11 libX11 1.6.9 XkbLookupKeyBinding(3)