USB: correct keymapping on Powerbook built-in USB ISO keyboards
commitbb7eef6eea53633a8a49f014fd27c08f7d5fda1a
authorOlaf Hering <olh@suse.de>
Thu, 9 Nov 2006 03:58:07 +0000 (8 19:58 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Nov 2006 22:26:11 +0000 (16 14:26 -0800)
tree955a168d1124910864c4970c11045a1177279c44
parent583ceada075597a5b6acab1140d61ac81586a2a6
USB: correct keymapping on Powerbook built-in USB ISO keyboards

similar to the version in adbhid_input_register(): The '<>' key and the
'^°' key on a german keyboard is swapped.  Provide correct keys to
userland, external USB keyboards will not work correctly when the
'badmap'/'goodmap' workarounds from xkeyboard-config are used.

It is expected that distributions drop the badmap/goodmap part from
keycodes/macintosh in the xkeyboard-config package.

This is probably 2.6.18.x material, if major distros settle on 2.6.18.

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/hid-core.c
drivers/usb/input/hid-input.c
drivers/usb/input/hid.h