summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwistedturtle <hindredkin@gmail.com>2024-08-19 16:39:35 +0000
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2024-08-19 16:39:35 +0000
commit6c12fe8c46bd10f12116053473dcd910e23c1ecf (patch)
tree307287c63fae87891e4430bebb1cebfa7300e6cb
parentf7eb40592a5c4a24d6313ec94153d7e15567eeb3 (diff)
Add option to define F13-F24
-rw-r--r--changes/options/306.feature.md3
-rw-r--r--rules/base.xml12
-rw-r--r--symbols/fkeys15
3 files changed, 30 insertions, 0 deletions
diff --git a/changes/options/306.feature.md b/changes/options/306.feature.md
new file mode 100644
index 00000000..2d32e362
--- /dev/null
+++ b/changes/options/306.feature.md
@@ -0,0 +1,3 @@
+Added `fkeys:basic_13-24`: define `F13-F24` keys with their corresponding function keysyms.
+
+Contributed by twistedturtle
diff --git a/rules/base.xml b/rules/base.xml
index aa0d98b7..52f6d02a 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -8308,6 +8308,18 @@
</group>
<group allowMultipleSelection="true">
<configItem>
+ <name>fkeys</name>
+ <description>Function keys</description>
+ </configItem>
+ <option>
+ <configItem>
+ <name>fkeys:basic_13-24</name>
+ <description>Use F13-F24 as usual function keys</description>
+ </configItem>
+ </option>
+ </group>
+ <group allowMultipleSelection="true">
+ <configItem>
<name>custom</name>
<description>Miscellaneous options</description>
</configItem>
diff --git a/symbols/fkeys b/symbols/fkeys
new file mode 100644
index 00000000..5a7b4bd7
--- /dev/null
+++ b/symbols/fkeys
@@ -0,0 +1,15 @@
+partial alphanumeric_keys
+xkb_symbols "basic_13-24" {
+ key <FK13> { [ F13 ] };
+ key <FK14> { [ F14 ] };
+ key <FK15> { [ F15 ] };
+ key <FK16> { [ F16 ] };
+ key <FK17> { [ F17 ] };
+ key <FK18> { [ F18 ] };
+ key <FK19> { [ F19 ] };
+ key <FK20> { [ F20 ] };
+ key <FK21> { [ F21 ] };
+ key <FK22> { [ F22 ] };
+ key <FK23> { [ F23 ] };
+ key <FK24> { [ F24 ] };
+};