1XkbKeyKeyType(3) XKB FUNCTIONS XkbKeyKeyType(3)
2
3
4
6 XkbKeyKeyType - Obtain the index of a key type or the pointer to a key
7 type
8
10 XkbKeyTypePtr XkbKeyKeyType (XkbDescPtr xkb, KeyCode keycode, int
11 group);
12
14 xkb Xkb description of interest
15
16 keycode
17 keycode of interest
18
19 group group index
20
22 XkbKeyKeyType returns a pointer to the key type in the types vector of
23 the client map in xkb corresponding to the given keycode and group in‐
24 dex.
25
27 typedef struct { /* Key Type */
28 XkbModsRec mods; /* modifiers used to compute shift level */
29 unsigned char num_levels; /* total # shift levels, do not modify directly */
30 unsigned char map_count; /* # entries in map, preserve (if non-NULL) */
31 XkbKTMapEntryPtr map; /* vector of modifiers for each shift level */
32 XkbModsPtr preserve; /* mods to preserve for corresponding map entry */
33 Atom name; /* name of key type */
34 Atom * level_names; /* array of names of each shift level */
35 } XkbKeyTypeRec, *XkbKeyTypePtr;
36
37
38
39
40X Version 11 libX11 1.8.7 XkbKeyKeyType(3)