Branch
Hash :
7d08bf43
Author :
Date :
2025-01-07T18:33:21
state: Add test for LEDs driven by the group state
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
default partial xkb_compatibility "groups" {
indicator "Caps Lock" {
modifiers= None;
whichGroupState=Base;
groups=0;
};
indicator "Num Lock" {
modifiers= None;
whichGroupState=Base;
groups=All; // Same as All-Group1
};
indicator "Scroll Lock" {
modifiers= None;
whichGroupState=Latched;
groups=0;
};
indicator "Compose" {
modifiers= None;
whichGroupState=Latched;
groups=All; // Same as All-Group1
};
indicator "Kana" {
modifiers= None;
whichGroupState=Locked;
groups=0; // Inactive
};
indicator "Sleep" {
modifiers= None;
whichGroupState=Locked;
groups=All-Group1;
};
indicator "Suspend" {
modifiers= None;
whichGroupState=Effective;
groups=0; // Inactive
};
indicator "Mute" {
modifiers= None;
whichGroupState=Effective;
groups=All-Group1;
};
// Specific group + whichGroupState mask
indicator "Misc" {
modifiers= None;
whichGroupState=Base+Latched;
groups=Group2;
};
indicator "Mail" {
modifiers= None;
whichGroupState=Locked;
groups=Group2;
};
indicator "Charging" {
modifiers= None;
whichGroupState=Latched+Locked+Effective;
groups=Group3;
};
};