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
17 index to first type to get, 0 => 1st type
18
19 - num number of key types to be returned
20
21 - xkb keyboard description containing client map to update
22
24 XkbGetKeyTypes queries the server for the desired types, waits for a
25 reply, and returns the desired types in the xkb->map->types. If suc‐
26 cessful, it returns Success.
27
28 XkbGetKeyTypes returns BadAccess if the Xkb extension has not been
29 properly initialized and BadValue if the combination of first and num
30 results in numbers out of valid range.
31
32 NOTE: XkbGetKeyTypes is used to obtain descriptions of the key types
33 themselves, not the key types bound to individual keys. To obtain the
34 key types bound to an individual key, refer to the key_sym_map field of
35 the client map.
36
38 BadAccess The Xkb extension has not been properly initialized
39
40 BadValue An argument is out of range
41
43 XkbKeyType(3), XkbKeyTypeIndex(3)
44
45
46
47
48X Version 11 libX11 1.7.2 XkbGetKeyTypes(3)