diff options
author | Chris Clayton <chris2553@googlemail.com> | 2007-04-01 17:07:55 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-04-11 04:36:02 -0400 |
commit | daa0bc902c8e9476673b47d3b59c9bb922843563 (patch) | |
tree | 9cd3e5ffac13025b9809c150440724f39ed4fe3b /drivers/hid | |
parent | 38d4b89e274c7eed99fcf6c3f8686f70edd6ab7c (diff) |
HID: enable dead keys on a belkin wireless keyboard
Belkin Wireless keyboard, model number F8E849KYBD, USB ID 1020:0006,
FCCID: K7SF8E849KYBD emits usages 0x03a-0x03c from Consumer usage page.
As of HUT v1.12, these are marked as reserved. If any conflict arises
later, the mapping could be made conditional on VID/PID.
Signed-off-by: Chris Clayton <chris2553@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-input.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index c8434023ba65..220e5a8381c4 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -431,6 +431,15 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
431 | case 0x000: goto ignore; | 431 | case 0x000: goto ignore; |
432 | case 0x034: map_key_clear(KEY_SLEEP); break; | 432 | case 0x034: map_key_clear(KEY_SLEEP); break; |
433 | case 0x036: map_key_clear(BTN_MISC); break; | 433 | case 0x036: map_key_clear(BTN_MISC); break; |
434 | /* | ||
435 | * The next three are reported by Belkin wireless | ||
436 | * keyboard (1020:0006). These values are "reserved" | ||
437 | * in HUT 1.12. | ||
438 | */ | ||
439 | case 0x03a: map_key_clear(KEY_SOUND); break; | ||
440 | case 0x03b: map_key_clear(KEY_CAMERA); break; | ||
441 | case 0x03c: map_key_clear(KEY_DOCUMENTS); break; | ||
442 | |||
434 | case 0x040: map_key_clear(KEY_MENU); break; | 443 | case 0x040: map_key_clear(KEY_MENU); break; |
435 | case 0x045: map_key_clear(KEY_RADIO); break; | 444 | case 0x045: map_key_clear(KEY_RADIO); break; |
436 | 445 | ||