aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorDon Prince <dhprince.devel@yahoo.co.uk>2010-05-17 15:18:21 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-18 04:41:19 -0400
commit117ea33a18392685b92928bbaa4e84dbc5be8f93 (patch)
treede781cdb3afc85694fb5b119b8389549581a54be /drivers/hid
parentd0742abaa1c396a26bb3d3ce2732988cd3faa020 (diff)
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: Robert Schedel <r.schedel@yahoo.de> Signed-off-by: Don Prince <dhprince-devel@yahoo.co.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-samsung.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/hid/hid-samsung.c b/drivers/hid/hid-samsung.c
index 869a5acfc0ba..bda0fd60c98d 100644
--- a/drivers/hid/hid-samsung.c
+++ b/drivers/hid/hid-samsung.c
@@ -112,13 +112,6 @@ static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev,
112 112
113 switch (usage->hid & HID_USAGE) { 113 switch (usage->hid & HID_USAGE) {
114 /* report 2 */ 114 /* report 2 */
115 case 0x0b5: samsung_kbd_mouse_map_key_clear(KEY_NEXTSONG); break;
116 case 0x0b6: samsung_kbd_mouse_map_key_clear(KEY_PREVIOUSSONG); break;
117 case 0x0b7: samsung_kbd_mouse_map_key_clear(KEY_STOPCD); break;
118 case 0x0cd: samsung_kbd_mouse_map_key_clear(KEY_PLAYPAUSE); break;
119 case 0x0e2: samsung_kbd_mouse_map_key_clear(KEY_MUTE); break;
120 case 0x0e9: samsung_kbd_mouse_map_key_clear(KEY_VOLUMEUP); break;
121 case 0x0ea: samsung_kbd_mouse_map_key_clear(KEY_VOLUMEDOWN); break;
122 case 0x183: samsung_kbd_mouse_map_key_clear(KEY_MEDIA); break; 115 case 0x183: samsung_kbd_mouse_map_key_clear(KEY_MEDIA); break;
123 case 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break; 116 case 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break;
124 case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break; 117 case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break;