Commit 117ea33a authored by Don Prince's avatar Don Prince Committed by Jiri Kosina

HID: hid-samsung: remove redundant key mappings

Remove 7 redundant key mappings from Desktop Wireless 6000 that are
already handled by the default hid code.
Reported-by: default avatarRobert Schedel <r.schedel@yahoo.de>
Signed-off-by: default avatarDon Prince <dhprince-devel@yahoo.co.uk>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent d0742aba
...@@ -112,13 +112,6 @@ static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev, ...@@ -112,13 +112,6 @@ static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev,
switch (usage->hid & HID_USAGE) { switch (usage->hid & HID_USAGE) {
/* report 2 */ /* report 2 */
case 0x0b5: samsung_kbd_mouse_map_key_clear(KEY_NEXTSONG); break;
case 0x0b6: samsung_kbd_mouse_map_key_clear(KEY_PREVIOUSSONG); break;
case 0x0b7: samsung_kbd_mouse_map_key_clear(KEY_STOPCD); break;
case 0x0cd: samsung_kbd_mouse_map_key_clear(KEY_PLAYPAUSE); break;
case 0x0e2: samsung_kbd_mouse_map_key_clear(KEY_MUTE); break;
case 0x0e9: samsung_kbd_mouse_map_key_clear(KEY_VOLUMEUP); break;
case 0x0ea: samsung_kbd_mouse_map_key_clear(KEY_VOLUMEDOWN); break;
case 0x183: samsung_kbd_mouse_map_key_clear(KEY_MEDIA); break; case 0x183: samsung_kbd_mouse_map_key_clear(KEY_MEDIA); break;
case 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break; case 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break;
case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break; case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment