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
21 shift level of interest
22
23 - grp group of interest
24
26 The key width and number of groups associated with a key are used to
27 form a small two-dimensional array of KeySyms for a key. This array may
28 be different sizes for different keys. The array for a single key is
29 stored as a linear list, in row-major order. The arrays for all of the
30 keys are stored in the syms field of the client map. There is one row
31 for each group associated with a key and one column for each level. The
32 index corresponding to a given group and shift level is computed as:
33
34 idx = group_index * key_width + shift_level
35
36 The offset field of the key_sym_map entry for a key is used to access
37 the beginning of the array.
38
39 XkbKeySymEntry returns the keysym corresponding to shift level shift
40 and group grp from the two-dimensional array of keysyms for the key
41 corresponding to keycode.
42
43
44
45X Version 11 libX11 1.7.3.1 XkbKeySymEntry(3)