summaryrefslogtreecommitdiff
path: root/pixelbookgo.toml
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2019-12-31 11:32:13 -0800
committerWez Furlong <wez@wezfurlong.org>2019-12-31 11:32:33 -0800
commit2418943fd5f945e02bdfa8bbaa5eb3759f738e3d (patch)
treef761836444c61bbd13755bedb7566f623552c7ab /pixelbookgo.toml
parent2854431019c905916514a3b210ec56c07cf52949 (diff)
Preserve ability to switch VC's
Diffstat (limited to 'pixelbookgo.toml')
-rw-r--r--pixelbookgo.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/pixelbookgo.toml b/pixelbookgo.toml
index da93df6..cd5d2ba 100644
--- a/pixelbookgo.toml
+++ b/pixelbookgo.toml
@@ -10,6 +10,20 @@ tap = ["KEY_ESC"]
# Function keys are remapped to alternate functions by
# default, so arrange for ALT-FX to produce FX instead.
+# First, let's preserve the ability to switch virtual
+# terminal consoles for the first three slots
+[[remap]]
+input = ["KEY_LEFTALT", "KEY_LEFTCTRL", "KEY_F1"]
+output = ["KEY_LEFTALT", "KEY_LEFTCTRL", "KEY_F1"]
+
+[[remap]]
+input = ["KEY_LEFTALT", "KEY_LEFTCTRL", "KEY_F2"]
+output = ["KEY_LEFTALT", "KEY_LEFTCTRL", "KEY_F2"]
+
+[[remap]]
+input = ["KEY_LEFTALT", "KEY_LEFTCTRL", "KEY_F3"]
+output = ["KEY_LEFTALT", "KEY_LEFTCTRL", "KEY_F3"]
+
[[remap]]
input = ["KEY_LEFTALT", "KEY_F1"]
output = ["KEY_F1"]