Skip to content

Commit

Permalink
HID: move apple quirks
Browse files Browse the repository at this point in the history
Move them from the core code to a separate driver.

Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
jirislaby authored and Jiri Kosina committed Oct 14, 2008
1 parent d458a9d commit 8c19a51
Show file tree
Hide file tree
Showing 12 changed files with 532 additions and 327 deletions.
14 changes: 14 additions & 0 deletions drivers/hid/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,20 @@ source "drivers/hid/usbhid/Kconfig"
menu "Special HID drivers"
depends on HID

config HID_APPLE
tristate "Apple"
default m
depends on (USB_HID || BT_HIDP)
---help---
Support for some Apple devices which less or more break
HID specification.

Say Y here if you want support for the special keys (Fn, Numlock) on
Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB
keyboards.

If unsure, say M.

config HID_LOGITECH
tristate "Logitech"
default m
Expand Down
1 change: 1 addition & 0 deletions drivers/hid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ obj-$(CONFIG_HID) += hid.o
hid-$(CONFIG_HID_DEBUG) += hid-debug.o
hid-$(CONFIG_HIDRAW) += hidraw.o

obj-$(CONFIG_HID_APPLE) += hid-apple.o
obj-$(CONFIG_HID_LOGITECH) += hid-logitech.o

obj-$(CONFIG_USB_HID) += usbhid/
Expand Down
Loading

0 comments on commit 8c19a51

Please sign in to comment.