aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remap-macbookair.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/remap-macbookair.sh b/remap-macbookair.sh
new file mode 100644
index 0000000..ac209c0
--- /dev/null
+++ b/remap-macbookair.sh
@@ -0,0 +1,12 @@
+# Example can be hand via evemu-describe and grabbing the DMI line.
+# This should match most apple keyboards, though.
+#
+# From for remapping you'll want to run `evtest` for the input,
+# the keyboard key code, take the value you get from the type 4 EV_MSC
+# lines
+evdev:*:dmi:bvnAppleInc.:bvr*:bd*:br0.1:svn*:pn*:pvr*
+ KEYBOARD_KEY_70039=leftctrl
+ KEYBOARD_KEY_700e3=leftalt
+ KEYBOARD_KEY_700e2=leftmeta
+ KEYBOARD_KEY_700e6=capslock
+