From 7f12f2f81574bb8e76aed5a6a65ad23bde32eae4 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 20 Jan 2024 13:01:12 -0500 Subject: Add keyboard remapping for the old macbook air --- remap-macbookair.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 remap-macbookair.sh 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 + -- cgit v1.2.3