// Use Caps Lock LED to show either Caps Lock, Group, or Shift Lock state

default partial xkb_compatibility "caps_lock"   {
   indicator "Caps Lock" {
       !allowExplicit;
       whichModState= Locked;
       modifiers= Lock;
   };
};

partial xkb_compatibility "group_lock"   {
   indicator "Caps Lock" {
       modifiers= None;
       groups=All-group1;
   };
};

partial xkb_compatibility "shift_lock"   {
   indicator "Caps Lock" {
       whichModState= Locked;
       modifiers= Shift;
   };
};
