1XkbLookupKeyBinding(3)           XKB FUNCTIONS          XkbLookupKeyBinding(3)
2
3
4

NAME

6       XkbLookupKeyBinding - Find the string bound to a key by XRebindKeySym
7

SYNOPSIS

9       int  XkbLookupKeyBinding (Display *dpy, KeySym sym, unsigned int state,
10              char *buf, int nbytes, int *extra_rtrn);
11

ARGUMENTS

13       dpy    connection to server
14
15       sym    connection to server
16
17       state  state for which string is to be looked up
18
19       buf    buffer into which returned string is written
20
21       nbytes size of buffer in bytes
22
23       extra_rtrn
24              backfilled with number bytes overflow
25

DESCRIPTION

27       XkbLookupKeyBinding is the equivalent of the core  XLookupString  func‐
28       tion.
29
30       XRebindKeysym  binds an ASCII string to a specified keysym, so that the
31       string and keysym are returned when the key is pressed and a  specified
32       list  of  modifiers  are also being held down.  XkbLookupKeyBinding re‐
33       turns in buf the string associated with the  keysym  sym  and  modifier
34       state  state. buf is NULL terminated unless there's an overflow. If the
35       string returned is larger than nbytes, a count of bytes that  does  not
36       fit  into the buffer is returned in extra_rtrn.  XkbTranslateKeySym re‐
37       turns the number of bytes that it placed into buf.
38

SEE ALSO

40       XkbTranslateKeySym(3), XLookupString(3), XRebindKeysym(3)
41
42
43
44X Version 11                     libX11 1.8.7           XkbLookupKeyBinding(3)
Impressum