HID: add support for Apple Magic Keyboards
authorSean O'Brien <seobrien@chromium.org>
Mon, 27 Aug 2018 20:02:15 +0000 (13:02 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Aug 2018 11:52:50 +0000 (13:52 +0200)
commitee345492437043a79db058a3d4f029ebcb52089a
treeb6770339cd5316673d9623cc6ffc33089a960a67
parentfb6acf76c3fdd97fea6995e64e2c665725f00fc5
HID: add support for Apple Magic Keyboards

USB device
Vendor 05ac (Apple)
Device 026c (Magic Keyboard with Numeric Keypad)

Bluetooth devices
Vendor 004c (Apple)
Device 0267 (Magic Keyboard)
Device 026c (Magic Keyboard with Numeric Keypad)

Support already exists for the Magic Keyboard over USB connection.
Add support for the Magic Keyboard over Bluetooth connection, and for
the Magic Keyboard with Numeric Keypad over Bluetooth and USB
connection.

Signed-off-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c
drivers/hid/hid-ids.h