1XkbGetKeyTypes(3) XKB FUNCTIONS XkbGetKeyTypes(3)
2
3
4
6 XkbGetKeyTypes - Obtain the list of available key types in the server's
7 keyboard mapping
8
10 Status XkbGetKeyTypes (Display *dpy, unsigned int first, unsigned int
11 num, XkbDescPtr xkb);
12
14 dpy connection to X server
15
16 first index to first type to get, 0 => 1st type
17
18 num number of key types to be returned
19
20 xkb keyboard description containing client map to update
21
23 XkbGetKeyTypes queries the server for the desired types, waits for a
24 reply, and returns the desired types in the xkb->map->types. If suc‐
25 cessful, it returns Success.
26
27 XkbGetKeyTypes returns BadAccess if the Xkb extension has not been
28 properly initialized and BadValue if the combination of first and num
29 results in numbers out of valid range.
30
31 NOTE: XkbGetKeyTypes is used to obtain descriptions of the key types
32 themselves, not the key types bound to individual keys. To obtain the
33 key types bound to an individual key, refer to the key_sym_map field of
34 the client map.
35
37 BadAccess The Xkb extension has not been properly initialized
38
39 BadValue An argument is out of range
40
42 XkbKeyKeyType(3), XkbKeyKeyTypeIndex(3)
43
44
45
46
47X Version 11 libX11 1.8.7 XkbGetKeyTypes(3)