HID: Add mapping of new KEY_MEDIA_REPEAT keycode
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Jul 2008 16:48:20 +0000 (12:48 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Jul 2008 13:25:22 +0000 (15:25 +0200)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c

index 5c52a20ad3447abd4cd4b94d7bc37f14746ab230..0ef778aee990dee5368447376ea18b4ccfbbd3a9 100644 (file)
@@ -612,6 +612,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
                                case 0x0b6: map_key_clear(KEY_PREVIOUSSONG);    break;
                                case 0x0b7: map_key_clear(KEY_STOPCD);          break;
                                case 0x0b8: map_key_clear(KEY_EJECTCD);         break;
+                               case 0x0bc: map_key_clear(KEY_MEDIA_REPEAT);    break;
 
                                case 0x0cd: map_key_clear(KEY_PLAYPAUSE);       break;
                                case 0x0e0: map_abs_clear(ABS_VOLUME);          break;