]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
HID: fix mismatch between hid-input HUT find/search mapping and the HUT
authorHans de Goede <j.w.r.degoede@hhs.nl>
Tue, 12 Jun 2007 20:04:32 +0000 (22:04 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 9 Jul 2007 12:13:32 +0000 (14:13 +0200)
commit5fce620c0c7caa9e8d9588e8dcc66c52c456851a
tree069734e79bd8022620bd4c163f0cc67206e6ea1b
parent1b3ebe931195725cceee825c430a8bd5319c2566
HID: fix mismatch between hid-input HUT find/search mapping and the HUT

When comparing usb vs ps2 / testing the keycodes generated for the easy access
keys on my trust (microsoft compatible) keyboard. I noticed the search key
generated the keycode for find when connected through USB. This lead me to
check the consumer page mappings in hid-input.c . And it turns out the the
mapping for ID 0x221 deviates from the HUT standard document:
http://www.usb.org/developers/devclass_docs/Hut1_12.pdf

Currently it is incorrectly mapped to find, whereas it should be mapped to
search. I also added missing bindings for ID 0x21f, the real find and for
0x222, goto.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c