summaryrefslogtreecommitdiff
path: root/symbols/capslock
diff options
context:
space:
mode:
authorLuis Javier Merino Morán <ninjalj@gmail.com>2024-02-15 00:39:08 +0100
committerLuis Javier Merino Morán <ninjalj@gmail.com>2024-02-15 00:39:08 +0100
commit26947b42e9032c055c6cc4fda868dad50d9c3768 (patch)
tree475a89781a23c73400d6bfe00eec37470e795ed7 /symbols/capslock
parentcc79edb0bf6879d83893fa2f9b3a0640870d3d15 (diff)
Improve description of caps:ctrl_modifier
The purpose of this option is to have Caps Lock behave as a Control modifier, but still be able to distinguish it from the Control_L and Control_R keys in things like games and emulators. People tend to get confused when in some programs Caps Lock with this option doesn't behave exactly like Control. ctrl:nocaps is probably the option they really want. Fixes #443
Diffstat (limited to 'symbols/capslock')
-rw-r--r--symbols/capslock4
1 files changed, 3 insertions, 1 deletions
diff --git a/symbols/capslock b/symbols/capslock
index 59cc7d21..11d279a3 100644
--- a/symbols/capslock
+++ b/symbols/capslock
@@ -67,7 +67,9 @@ xkb_symbols "numlock" {
};
// This changes the <CAPS> key to become a Control modifier,
-// but it will still produce the Caps_Lock keysym.
+// but it will still produce the Caps_Lock keysym; this is
+// useful for apps that need to distinguish it from usual
+// Control_L and Control_R.
hidden partial modifier_keys
xkb_symbols "ctrl_modifier" {
replace key <CAPS> {