linux/drivers/hid/usbhid
Diego 'Flameeyes' Petteno 6e7045990f HID: split Numlock emulation quirk from HID_QUIRK_APPLE_HAS_FN.
Since 2.6.25 the HID_QUIRK_APPLE_HAS_FN quirk is enabled even for
non-laptop Apple keyboards of the Aluminium series. The USB version of
these don't need Numlock emulation, like the laptop (and Aluminium
Wireless) do, as they have a proper keypad.

This patch splits the Numlock emulation for Apple keyboards in a
different quirk flag, so that it can be enabled for all the keyboards
but the Aluminium USB ones.

If the Numlock emulation is enabled for Aluminium USB keyboards, the
JKL and UIO keys become the numeric pad, and the rest of the keyboard
is disabled, included the key used to disable Numlock.

Additionally, these keyboard should not have a Numlock at all, as the
Numlock key is instead replaced by the 'Clear' key as usual for Apple
USB keyboards.

Signed-off-by: Diego 'Flameeyes' Petteno <flameeyes@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2008-05-20 16:44:43 +02:00
..
hid-core.c usbhid endianness annotations and fixes 2008-04-28 10:03:31 -07:00
hid-ff.c HID: force feedback driver for Logitech Rumblepad 2 2008-04-22 11:34:57 +02:00
hid-lg2ff.c HID: force feedback driver for Logitech Rumblepad 2 2008-04-22 11:34:57 +02:00
hid-lgff.c HID: make debugging output runtime-configurable 2007-07-09 14:03:35 +02:00
hid-pidff.c HID: fix autocentering of PID devices 2007-07-09 14:13:35 +02:00
hid-plff.c HID: use hid-plff driver for GreenAsia 0e8f:0003 devices 2007-10-14 13:40:01 +02:00
hid-quirks.c HID: split Numlock emulation quirk from HID_QUIRK_APPLE_HAS_FN. 2008-05-20 16:44:43 +02:00
hid-tmff.c HID: fix a potential bug in pointer casting 2008-01-28 14:51:19 +01:00
hid-zpff.c HID: make debugging output runtime-configurable 2007-07-09 14:03:35 +02:00
hiddev.c HID: fix build failure in hiddev_ioctl with gcc 3.2 2008-04-22 11:34:56 +02:00
Kconfig HID: ThrustMaster FF driver is no longer experimental 2008-04-22 11:34:58 +02:00
Makefile HID: force feedback driver for Logitech Rumblepad 2 2008-04-22 11:34:57 +02:00
usbhid.h HID: move wait from hid to usbhid 2008-04-22 11:34:57 +02:00
usbkbd.c HID: fix compilation of hidbp drivers without usbhid 2008-01-28 14:51:22 +01:00
usbmouse.c HID: fix compilation of hidbp drivers without usbhid 2008-01-28 14:51:22 +01:00