Branch
Hash :
ac9cd053
Author :
Date :
2025-06-11T19:00:47
test: Check extended layout indexes
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
xkb_keymap {
xkb_keycodes {
minimum = 8;
maximum = 255;
<A> = 38;
<S> = 39;
<D> = 40;
<F> = 41;
<G> = 42;
indicator 1 = "A";
indicator 2 = "B";
indicator 3 = "C";
};
xkb_types {
virtual_modifiers M1=0x1001,M2=0x2004,M3=0x4020,M4=0x8001;
type "ONE_LEVEL" {
modifiers= none;
};
type "ALPHABETIC" {
modifiers= Shift+Lock;
map[Shift]= 2;
map[Lock]= 2;
};
};
xkb_compatibility "merge_modes_defaults" {
virtual_modifiers M1=0x1001,M2=0x2004,M3=0x4020,M4=0x8001;
interpret.useModMapMods= AnyLevel;
interpret.repeat= False;
interpret a+AnyOfOrNone(all) {
virtualModifier= M4;
repeat= True;
action= SetGroup(group=1);
};
interpret A+AnyOfOrNone(all) {
virtualModifier= M1;
action= SetMods(modifiers=M1);
};
interpret s+AnyOfOrNone(all) {
virtualModifier= M2;
useModMapMods=level1;
action= SetGroup(group=2);
};
interpret S+AnyOfOrNone(all) {
virtualModifier= M2;
repeat= True;
action= SetGroup(group=4);
};
interpret g+AnyOfOrNone(all) {
virtualModifier= M3;
action= SetGroup(group=3);
};
indicator "A" {
whichGroupState= locked;
groups= 0xfffffffe;
whichModState= locked;
modifiers= M2;
controls= SlowKeys;
};
indicator "B" {
groups= 0xfffffffe;
whichModState= base;
modifiers= M4;
controls= AudibleBell;
};
indicator "C" {
whichModState= locked;
modifiers= M3;
};
};
xkb_symbols "merge_modes_defaults" {
name[1]="yyy";
key <A> { [ a, A ] };
key <S> { [ s, S ] };
key <D> {
repeat= No,
virtualMods= M4,
[ d, D ]
};
key <F> {
repeat= No,
virtualMods= M4,
[ f, F ]
};
key <G> {
type= "ONE_LEVEL",
repeat= Yes,
symbols[1]= [ g ]
};
modifier_map Shift { <A> };
modifier_map Control { <S> };
modifier_map Mod3 { <G> };
};
};