# Re: Re: \[PATCH\] hid kernel module for wireless remote LC Power model RC1000MCE

- From: Chris Schlund \<hidden\>
- Date: 2011-02-07 16:53:13 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/02/8916073
- Thread: https://ratatoskr.run/linux-input/2011/01/8915973/t.md

```text
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 <redacted>
---

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;
```
