1XkbKeyNumSyms(3) XKB FUNCTIONS XkbKeyNumSyms(3)
2
3
4
6 XkbKeyNumSyms - Returns the total number of keysyms for the key corre‐
7 sponding to keycode
8
10 int XkbKeyNumSyms (XkbDescPtr xkb, KeyCode keycode);
11
13 xkb Xkb description of interest
14
15 keycode
16 keycode of interest
17
19 The key width and number of groups associated with a key are used to
20 form a small two-dimensional array of KeySyms for a key. This array may
21 be different sizes for different keys. The array for a single key is
22 stored as a linear list, in row-major order. The arrays for all of the
23 keys are stored in the syms field of the client map. There is one row
24 for each group associated with a key and one column for each level. The
25 index corresponding to a given group and shift level is computed as:
26
27 idx = group_index * key_width + shift_level
28
29 The offset field of the key_sym_map entry for a key is used to access
30 the beginning of the array.
31
32 XkbKeyNumSyms returns the total number of keysyms for the key corre‐
33 sponding to keycode.
34
35
36
37X Version 11 libX11 1.8.7 XkbKeyNumSyms(3)