Debian Codegraph @

test/data/symbols/multiple-groups

raw
1 // Define a key with various groups at the same time.
2 // Use RALT because the option `lv3:ralt_alt` used to have a similar
3 // (buggy) implementation, that triggered an unexpected result
4 // for `xkb_keymap_num_layouts` and `xkb_keymap_num_layouts_for_key`.
5 default partial modifier_keys
6 xkb_symbols "1" {
7 key <RALT> {
8 type[Group1]="ONE_LEVEL",
9 type[Group2]="ONE_LEVEL",
10 type[Group3]="ONE_LEVEL",
11 type[Group4]="ONE_LEVEL",
12 symbols[Group1] = [ a ],
13 symbols[Group2] = [ b ],
14 symbols[Group3] = [ c ],
15 symbols[Group4] = [ d ]
16 };
17 };
18
19 xkb_symbols "2" {
20 key <RALT> {
21 type[Group1]="ONE_LEVEL",
22 type[Group2]="ONE_LEVEL",
23 type[Group3]="ONE_LEVEL",
24 type[Group4]="ONE_LEVEL",
25 symbols[Group1] = [ a ],
26 symbols[Group2] = [ B ],
27 symbols[Group3] = [ C ],
28 symbols[Group4] = [ D ]
29 };
30 };