1XkbKeySymsOffset(3) XKB FUNCTIONS XkbKeySymsOffset(3)
2
3
4
6 XkbKeySymsOffset - Returns the offset of the two-dimensional array of
7 keysyms for the key corresponding to keycode
8
10 int XkbKeySymsOffset (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 XkbKeySymsOffset returns the offset of the two-dimensional array of
33 keysyms for the key corresponding to keycode.
34
35
36
37X Version 11 libX11 1.6.5 XkbKeySymsOffset(3)