aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/compat/caps
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkeyboard-config/compat/caps')
-rw-r--r--xorg-server/xkeyboard-config/compat/caps12
1 files changed, 12 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/compat/caps b/xorg-server/xkeyboard-config/compat/caps
new file mode 100644
index 000000000..d787ab63d
--- /dev/null
+++ b/xorg-server/xkeyboard-config/compat/caps
@@ -0,0 +1,12 @@
+partial xkb_compatibility "caps_lock" {
+ // Keysym Caps_Lock locks Lock modifier.
+ // With this, the keysym Caps_Lock can be used without binding the whole
+ // key to a real modifier.
+ // This is essential when you don't want to use caps lock on the first
+ // level.
+ // This should not have any compatibility issues when used together with
+ // other layouts which don't utilize this capability.
+ interpret Caps_Lock {
+ action = LockMods(modifiers = Lock);
+ };
+};