xref: /aosp_15_r20/external/libxkbcommon/test/data/compat/caps (revision 2b949d0487e80d67f1fda82db69e101e761f8064)
1*2b949d04SAndroid Build Coastguard Workerpartial xkb_compatibility "caps_lock" {
2*2b949d04SAndroid Build Coastguard Worker    // Keysym Caps_Lock locks the Lock modifier.
3*2b949d04SAndroid Build Coastguard Worker    // With this definition, the keysym Caps_Lock can be used without binding
4*2b949d04SAndroid Build Coastguard Worker    // the whole key to a real modifier.  This is essential when you don't
5*2b949d04SAndroid Build Coastguard Worker    // want to use Caps_Lock on the first level.
6*2b949d04SAndroid Build Coastguard Worker    // This should not have any compatibility issues when used together with
7*2b949d04SAndroid Build Coastguard Worker    // other layouts which don't utilize this capability.
8*2b949d04SAndroid Build Coastguard Worker    interpret Caps_Lock {
9*2b949d04SAndroid Build Coastguard Worker        action = LockMods(modifiers = Lock);
10*2b949d04SAndroid Build Coastguard Worker    };
11*2b949d04SAndroid Build Coastguard Worker};
12