Branch
Hash :
0f89ad97
Author :
Date :
2025-06-09T19:26:13
dump: Always use numeric group indexes The upcoming raise of the maximum groups count will require to use numeric group indexes instead of the syntax `GroupN` if groups > 8. Let’s not bother with handling two cases (group count ≤ 8 or > 8) and always serialize group indexes as numeric values.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
xkb_keymap {
xkb_keycodes {
minimum = 8;
maximum = 255;
<LVL3> = 92;
<RALT> = 108;
};
xkb_types "basic" {
virtual_modifiers NumLock;
type "ONE_LEVEL" {
modifiers= none;
level_name[1]= "Any";
};
type "TWO_LEVEL" {
modifiers= Shift;
map[Shift]= 2;
level_name[1]= "Base";
level_name[2]= "Shift";
};
type "ALPHABETIC" {
modifiers= Shift+Lock;
map[Shift]= 2;
map[Lock]= 2;
level_name[1]= "Base";
level_name[2]= "Caps";
};
};
xkb_compatibility {
virtual_modifiers NumLock;
interpret.useModMapMods= AnyLevel;
interpret.repeat= False;
interpret VoidSymbol+AnyOfOrNone(none) {
repeat= True;
};
};
xkb_symbols "level3" {
key <LVL3> {
type= "ONE_LEVEL",
symbols[1]= [ ISO_Level3_Shift ]
};
key <RALT> { [ ISO_Level3_Shift, ISO_Level3_Lock ] };
modifier_map Mod5 { <LVL3> };
};
};