From d78a27582c9b44cd622b96836f7b28ea4694da9d Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 4 Dec 2021 11:22:25 +0100 Subject: [PATCH] bootstrap: Added new keyd keybard configuration Added the same configuration for another external keyboard to the config. --- .../keyd/SEMITEK USB-HID Gaming Keyboard.cfg | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 bootstrap/system-packages/etc/keyd/SEMITEK USB-HID Gaming Keyboard.cfg diff --git a/bootstrap/system-packages/etc/keyd/SEMITEK USB-HID Gaming Keyboard.cfg b/bootstrap/system-packages/etc/keyd/SEMITEK USB-HID Gaming Keyboard.cfg new file mode 100644 index 0000000..d6287a8 --- /dev/null +++ b/bootstrap/system-packages/etc/keyd/SEMITEK USB-HID Gaming Keyboard.cfg @@ -0,0 +1,33 @@ +# Makes capslock to control/escape +# insert to paste +# right alt to enable German Umlaute (äÄöÖüÜ), +# sharp s (ß), and the Euro sign (€). +# Needs compose key to be set in xkb to work correctly: +# $ setxkbmap -option "compose:menu" + +capslock = overload(C, esc) +insert = S-insert +rightalt = layer(dia) +shift = layer(shift) +rightshift = layer(shift) + +[shift:S] + +rightalt = layer(shiftedDia) + +[dia] + +shift = layer(shiftedDia) +rightshift = layer(shiftedDia) + +a = macro(compose a ") +o = macro(compose o ") +u = macro(compose u ") +s = macro(compose s s) +e = macro(compose = e) + +[shiftedDia] + +a = macro(compose A ") +o = macro(compose O ") +u = macro(compose U ")