From: Don Prince <dhprince.devel@yahoo.co.uk>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.34-rc7] HID: remove redundant key mappings from Desktop Wireless 6000
Date: Mon, 17 May 2010 20:18:21 +0100 [thread overview]
Message-ID: <4BF1967D.3060404@yahoo.co.uk> (raw)
Remove 7 redundant key mappings from Desktop Wireless 6000 that are
already handled by the default hid code.
Signed-off-by: Don Prince <dhprince-devel@yahoo.co.uk>
---
Spotted by by Robert Schedel <r.schedel@yahoo.de>
diff -X /opt/scripts/diff-exclude.txt -Npaur a/drivers/hid/hid-samsung.c b/drivers/hid/hid-samsung.c
--- a/drivers/hid/hid-samsung.c 2010-05-17 11:01:26.772377750 +0100
+++ b/drivers/hid/hid-samsung.c 2010-05-17 20:04:36.988502775 +0100
@@ -112,13 +112,6 @@ static int samsung_kbd_mouse_input_mappi
switch (usage->hid & HID_USAGE) {
/* 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 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break;
case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break;
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
next reply other threads:[~2010-05-17 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-17 19:18 Don Prince [this message]
2010-05-18 8:41 ` [PATCH 2.6.34-rc7] HID: remove redundant key mappings from Desktop Wireless 6000 Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BF1967D.3060404@yahoo.co.uk \
--to=dhprince.devel@yahoo.co.uk \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.