summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-apple.c
diff options
context:
space:
mode:
authorJean-Gabriel Gill-Couture <jeangab@jeangab.fr.nf>2016-07-11 17:41:26 +0200
committerJiri Kosina <jkosina@suse.cz>2016-07-11 17:41:31 +0200
commitb5d9427549be859dd42c5a6c635bc09d1d07b00b (patch)
treece0cb12aa76ff1e0f84fb8c8da6faa54838c0db6 /drivers/hid/hid-apple.c
parent595d9e34eedc4b8d0631260ce93bbeb08e5b3bd7 (diff)
downloadop-kernel-dev-b5d9427549be859dd42c5a6c635bc09d1d07b00b.zip
op-kernel-dev-b5d9427549be859dd42c5a6c635bc09d1d07b00b.tar.gz
HID: add usb device id for Apple Magic Keyboard
USB device Vendor 05ac (Apple) Device 0267 (Magic Keyboard) This keyboard supports both Bluetooth and USB connections, this patch only covers USB. Thanks to Maxime Poulin <maxpoulin64@gmail.com> Signed-off-by: Jean-Gabriel Gill-Couture <jeangab@jeangab.fr.nf> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-apple.c')
-rw-r--r--drivers/hid/hid-apple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 884d82f..2e04608 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -474,6 +474,8 @@ static const struct hid_device_id apple_devices[] = {
.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_JIS),
.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGIC_KEYBOARD_ANSI),
+ .driver_data = APPLE_HAS_FN },
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_ANSI),
.driver_data = APPLE_HAS_FN },
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_ISO),
OpenPOWER on IntegriCloud