From: Chris Schlund <chrisschlund@gmx.de>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org
Subject: Re: Re: [PATCH] hid kernel module for wireless remote LC Power model RC1000MCE
Date: Mon, 07 Feb 2011 17:53:10 +0100 [thread overview]
Message-ID: <4D502376.5040505@gmx.de> (raw)
In-Reply-To: <alpine.LNX.2.00.1102031642260.2160@pobox.suse.cz>
Hi Jiri,
I already got some feedback for this module, telling me red and blue keys are exchanged.
I checked it, and they are right. Due to my incorrect userspace settings I missed this during my testing.
So here is the fixed mapping.
I am sorry for the inconvenience.
Thanks, Chris
Signed-off-by: Chris Schlund <chrisschlund@gmx.de>
---
diff -urN linux-2.6.37/drivers/hid/hid-lcpower.c linux/drivers/hid/hid-lcpower.c
--- linux-2.6.37/drivers/hid/hid-lcpower.c 2011-02-07 17:31:49.000000000 +0100
+++ linux/drivers/hid/hid-lcpower.c 2011-02-07 17:32:50.000000000 +0100
@@ -30,8 +30,8 @@
switch (usage->hid & HID_USAGE) {
case 0x046: ts_map_key_clear(KEY_YELLOW); break;
case 0x047: ts_map_key_clear(KEY_GREEN); break;
- case 0x049: ts_map_key_clear(KEY_RED); break;
- case 0x04a: ts_map_key_clear(KEY_BLUE); break;
+ case 0x04a: ts_map_key_clear(KEY_RED); break;
+ case 0x049: ts_map_key_clear(KEY_BLUE); break;
case 0x00d: ts_map_key_clear(KEY_HOME); break;
case 0x025: ts_map_key_clear(KEY_TV); break;
case 0x048: ts_map_key_clear(KEY_VCR); break;
next prev parent reply other threads:[~2011-02-07 16:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 12:56 Re: [PATCH] hid kernel module for wireless remote LC Power model RC1000MCE Chris Schlund
2011-02-03 15:42 ` Jiri Kosina
2011-02-07 16:53 ` Chris Schlund [this message]
2011-02-13 14:04 ` 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=4D502376.5040505@gmx.de \
--to=chrisschlund@gmx.de \
--cc=jkosina@suse.cz \
--cc=linux-input@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.