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