summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-02-13 11:28:25 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2024-05-29 12:59:33 +1000
commitd4765ff559bb587a7c9b3414305d6728acce4435 (patch)
treefc9126b70cf931e4de2ba66d247a0c8eaab5503f
parent4cc3a783a216e321d0782ce22847d21eea3e40d6 (diff)
Add option scrolllock:mod3
This maps Scroll_Lock to Mod3, effectively enabling this virtual modifier.
-rw-r--r--rules/base.xml6
-rw-r--r--symbols/scrolllock4
2 files changed, 10 insertions, 0 deletions
diff --git a/rules/base.xml b/rules/base.xml
index 20ee088f..2cf747b8 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -7876,6 +7876,12 @@
</option>
<option>
<configItem>
+ <name>scrolllock:mod3</name>
+ <description>Map Scroll Lock to Mod3</description>
+ </configItem>
+ </option>
+ <option>
+ <configItem>
<name>srvrkeys:none</name>
<description>Special keys (Ctrl+Alt+&lt;key&gt;) handled in a server</description>
</configItem>
diff --git a/symbols/scrolllock b/symbols/scrolllock
new file mode 100644
index 00000000..4275e230
--- /dev/null
+++ b/symbols/scrolllock
@@ -0,0 +1,4 @@
+default
+xkb_symbols "mod3" {
+ modifier_map Mod3 { Scroll_Lock };
+};