1XkbGetKeySyms(3) XKB FUNCTIONS XkbGetKeySyms(3)
2
3
4
6 XkbGetKeySyms - Obtain the symbols for a subset of the keys in a key‐
7 board description
8
10 Status XkbGetKeySyms (Display *dpy, unsigned int first, unsigned int
11 num, XkbDescPtr xkb);
12
14 dpy connection to X server
15
16 first keycode of first key to get
17
18 num number of keycodes for which syms desired
19
20 xkb Xkb description to be updated
21
23 XkbGetKeySyms sends a request to the server to obtain the set of
24 keysyms bound to num keys starting with the key whose keycode is first.
25 It waits for a reply and returns the keysyms in the map.syms field of
26 xkb. If successful, XkbGetKeySyms returns Success. The xkb parameter
27 must be a pointer to a valid Xkb keyboard description.
28
29 If the client map in the xkb parameter has not been allocated, Xk‐
30 bGetKeySyms allocates and initializes it before obtaining the symbols.
31
32 If a compatible version of Xkb is not available in the server or the
33 Xkb extension has not been properly initialized, XkbGetKeySyms returns
34 BadAccess. If num is less than 1 or greater than XkbMaxKeyCount, Xk‐
35 bGetKeySyms returns BadValue. If any allocation errors occur, Xk‐
36 bGetKeySyms returns BadAlloc.
37
39 Success The XkbGetKeySyms function returns Success if it gets a
40 reply to a request to the server to obtain the set of
41 keysyms bound to num keys starting with the key whose
42 keycode is first.
43
45 BadAccess The Xkb extension has not been properly initialized
46
47 BadAlloc Unable to allocate storage
48
49 BadValue An argument is out of range
50
51
52
53X Version 11 libX11 1.8.7 XkbGetKeySyms(3)