From 755ee5de02623ae20789a570fece50d9a91ada26 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Tue, 24 Aug 2021 11:02:27 -0500 Subject: [PATCH] added capsToCtrl.map to the scripts directory. --- scripts/capsToCtrl.map | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/capsToCtrl.map diff --git a/scripts/capsToCtrl.map b/scripts/capsToCtrl.map new file mode 100644 index 0000000..1d0f927 --- /dev/null +++ b/scripts/capsToCtrl.map @@ -0,0 +1,6 @@ +#put this in /usr/share/kbd/keymaps and run sudo localectl set-keymap capsToCtrl +keymaps 0-15 +#need 16 entries to define it for all combinations of shift, altGr, control, and alt. +#there seems to be a bug in loadkeys that necesitates this. +#giving exactly one action code after the equals sign should implicitly replicate the action code over all coulumns (all 256 of them), but loadkeys does not seem to respect this... +keycode 58 = Control Control Control Control Control Control Control Control Control Control Control Control Control Control Control Control