| 1 |
partial xkb_compatibility "caps_lock" { |
| 2 |
// Keysym Caps_Lock locks the Lock modifier. |
| 3 |
// With this definition, the keysym Caps_Lock can be used without binding |
| 4 |
// the whole key to a real modifier. This is essential when you don't |
| 5 |
// want to use Caps_Lock on the first level. |
| 6 |
// This should not have any compatibility issues when used together with |
| 7 |
// other layouts which don't utilize this capability. |
| 8 |
interpret Caps_Lock { |
| 9 |
action = LockMods(modifiers = Lock); |
| 10 |
}; |
| 11 |
}; |
| 12 |
|
| 13 |
partial xkb_compatibility "shiftlock" { |
| 14 |
include "ledcaps(shift_lock)" |
| 15 |
}; |