USBHID: report descriptor fix for MacBook JIS keyboard
authorTomoya Adachi <adachi@il.is.s.u-tokyo.ac.jp>
Wed, 3 Oct 2007 21:27:49 +0000 (23:27 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sun, 14 Oct 2007 11:40:01 +0000 (13:40 +0200)
commit08f06177f4089abeba904cc12a2a50cffa9ffce6
tree8c64f7016c107c7941773bd15d58406741e7376f
parent0ce1ac3b3ca0f44682aed210ba6062bafc2e32fa
USBHID: report descriptor fix for MacBook JIS keyboard

This patch fixes the problem, that Japanese MacBook doesn't recognize some keys
like '\'(yen, or backslash), '|'(pipe), and '_'(underscore).

It is due to that MacBook JIS keyboard (jp106) sends wrong report descriptor.
It saids "logical maximum = 0x65", so Keyboard.0089 is mapped to Key.Unknown,
while it should be accepted as Key.Yen.

Signed-off-by: Tomoya Adachi <adachi@il.is.s.u-tokyo.ac.jp>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-quirks.c
include/linux/hid.h