1797b363dSmrg// Use the Caps Lock LED to show either
2797b363dSmrg// Caps Lock, Group, or Shift Lock state.
3154daed1Smrg
4797b363dSmrgdefault partial xkb_compatibility "caps_lock" {
5797b363dSmrg    indicator "Caps Lock" {
6797b363dSmrg	!allowExplicit;
7797b363dSmrg	whichModState= Locked;
8797b363dSmrg	modifiers= Lock;
9797b363dSmrg    };
10154daed1Smrg};
11154daed1Smrg
12797b363dSmrgpartial xkb_compatibility "group_lock" {
13797b363dSmrg    indicator "Caps Lock" {
14797b363dSmrg	modifiers= None;
15797b363dSmrg	groups=All-group1;
16797b363dSmrg    };
17154daed1Smrg};
18154daed1Smrg
19797b363dSmrgpartial xkb_compatibility "shift_lock" {
20797b363dSmrg    indicator "Caps Lock" {
21797b363dSmrg	whichModState= Locked;
22797b363dSmrg	modifiers= Shift;
23797b363dSmrg    };
24154daed1Smrg};
25