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