Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=daa0bc902c8e9476673b47d3b59c9bb922843563
Commit:     daa0bc902c8e9476673b47d3b59c9bb922843563
Parent:     38d4b89e274c7eed99fcf6c3f8686f70edd6ab7c
Author:     Chris Clayton <[EMAIL PROTECTED]>
AuthorDate: Sun Apr 1 23:07:55 2007 +0200
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Wed Apr 11 10:36:02 2007 +0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
---
 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 c843402..220e5a8 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
                                case 0x000: goto ignore;
                                case 0x034: map_key_clear(KEY_SLEEP);           
break;
                                case 0x036: map_key_clear(BTN_MISC);            
break;
+                               /*
+                                * The next three are reported by Belkin 
wireless
+                                * keyboard (1020:0006). These values are 
"reserved"
+                                * in HUT 1.12.
+                                */
+                               case 0x03a: map_key_clear(KEY_SOUND);           
break;
+                               case 0x03b: map_key_clear(KEY_CAMERA);          
break;
+                               case 0x03c: map_key_clear(KEY_DOCUMENTS);       
break;
+
                                case 0x040: map_key_clear(KEY_MENU);            
break;
                                case 0x045: map_key_clear(KEY_RADIO);           
break;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to