summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-09-06 13:01:04 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-09-06 13:01:04 -0600
commit2ae65dceca679821a0a5a0f40d8aff148f4e34be (patch)
tree176902d3411ee70f5cbc431802b06d96be842d9d
parent813a67d3a4fffbee3a82d157642b73b0a831c4f8 (diff)
downloadrkb-2ae65dceca679821a0a5a0f40d8aff148f4e34be.tar.gz
rkb-2ae65dceca679821a0a5a0f40d8aff148f4e34be.tar.bz2
rkb-2ae65dceca679821a0a5a0f40d8aff148f4e34be.zip
jr: add jdvprk for the Royal Kludge keyboard.
The Royal Kludge Keyboard shares the escape key with the tilde annd the backtick. In a stroke of ungenius, the tilde and backtick are invoked with the Fn key. This should change.
-rw-r--r--jr16
1 files changed, 16 insertions, 0 deletions
diff --git a/jr b/jr
index 16aaed4..e30e2ef 100644
--- a/jr
+++ b/jr
@@ -391,3 +391,19 @@ xkb_symbols "jdvp" {
symbols[Group2] = []
};
};
+
+// The Royal Kludge Keyboard stupidly requires you to hold down Fn to toggle
+// escape, so swap the escape key with the tilda key.
+partial alphanumeric_keys
+xkb_symbols "jdvprk" {
+ include "jr(jdvp)"
+
+ key <ESC> {
+ symbols[Group1] = [ dollar, asciitilde ] ,
+ symbols[Group2] = []
+ };
+
+ key <TLDE> {
+ symbols[Group1] = [ Escape ]
+ };
+};