HID: fix hid-input mapping for Firefly Mini Remote Control
authorSimon Bennett <simon@levanta.com>
Wed, 24 Jan 2007 09:27:20 +0000 (10:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 25 Jan 2007 17:31:25 +0000 (18:31 +0100)
Patch adds entries to the HID consumer page for the Firefly
Mini IR remote control

Signed-off-by: Simon Bennett <simon@levanta.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c

index 9cf591a1bda37a13698f5fe52e17e159cd714bf8..981fcf01d41b0e5f11c99af9d525fcfe3b13c98c 100644 (file)
@@ -431,6 +431,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
                                case 0x040: map_key_clear(KEY_MENU);            break;
                                case 0x045: map_key_clear(KEY_RADIO);           break;
 
+                               case 0x083: map_key_clear(KEY_LAST);            break;
                                case 0x088: map_key_clear(KEY_PC);              break;
                                case 0x089: map_key_clear(KEY_TV);              break;
                                case 0x08a: map_key_clear(KEY_WWW);             break;
@@ -448,6 +449,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
                                case 0x096: map_key_clear(KEY_TAPE);            break;
                                case 0x097: map_key_clear(KEY_TV2);             break;
                                case 0x098: map_key_clear(KEY_SAT);             break;
+                               case 0x09a: map_key_clear(KEY_PVR);             break;
 
                                case 0x09c: map_key_clear(KEY_CHANNELUP);       break;
                                case 0x09d: map_key_clear(KEY_CHANNELDOWN);     break;