From c3d90048f0786b8af71da33d1b7e21f8563ae85b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 20 Sep 2011 10:57:18 +0100 Subject: Fix MacBookAir4,1 keymap, see http://thread.gmane.org/gmane.linux.kernel.input/21462/focus=21626 --- add-macbookair41-keyboard.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add-macbookair41-keyboard.patch b/add-macbookair41-keyboard.patch index cb8c71d9e..bd5afdafe 100644 --- a/add-macbookair41-keyboard.patch +++ b/add-macbookair41-keyboard.patch @@ -59,7 +59,7 @@ diff -uNr linux/drivers/hid/hid-apple.c patched/drivers/hid/hid-apple.c table = macbookair_fn_keys; + else if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING6A_ANSI && + hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING6A_JIS) -+ table = macbookair_fn_keys; ++ table = apple_fn_keys; else if (hid->product < 0x21d || hid->product >= 0x300) table = powerbook_fn_keys; else -- cgit