linux-hardened/drivers/hid
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
..
usbhid HID: split Numlock emulation quirk from HID_QUIRK_APPLE_HAS_FN. 2008-05-20 16:44:43 +02:00
hid-core.c hid-core: use get_unaligned_* helpers 2008-04-29 08:06:27 -07:00
hid-debug.c HID: only dump report traffic with debug level 2 2008-04-22 11:34:57 +02:00
hid-input-quirks.c HID: fix sparse warnings 2008-04-22 11:34:57 +02:00
hid-input.c HID: split Numlock emulation quirk from HID_QUIRK_APPLE_HAS_FN. 2008-05-20 16:44:43 +02:00
hidraw.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
Kconfig HID: add hidraw interface 2007-10-14 14:47:26 +02:00
Makefile HID: refactor mapping to input subsystem for quirky devices 2008-01-28 14:51:20 +01:00