From 2ae65dceca679821a0a5a0f40d8aff148f4e34be Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 6 Sep 2022 13:01:04 -0600 Subject: 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. --- jr | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 { + symbols[Group1] = [ dollar, asciitilde ] , + symbols[Group2] = [] + }; + + key { + symbols[Group1] = [ Escape ] + }; +}; -- cgit