diff options
author | Chris Schlund <chrisschlund@gmx.de> | 2011-02-07 11:53:10 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-13 09:04:51 -0500 |
commit | 8ef395310852710bb4237d918bbac53b22622ef0 (patch) | |
tree | 22077d4e552fd0d3e5c1f779966661545087a708 /drivers/hid | |
parent | 75b07022462fc33d6be15669ad604118653210a9 (diff) |
HID: hid-lcpower: fix key mapping
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.
Signed-off-by: Chris Schlund <chrisschlund@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-lcpower.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-lcpower.c b/drivers/hid/hid-lcpower.c index 4bdbcf878544..c4fe9bd095b7 100644 --- a/drivers/hid/hid-lcpower.c +++ b/drivers/hid/hid-lcpower.c | |||
@@ -30,8 +30,8 @@ static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, | |||
30 | switch (usage->hid & HID_USAGE) { | 30 | switch (usage->hid & HID_USAGE) { |
31 | case 0x046: ts_map_key_clear(KEY_YELLOW); break; | 31 | case 0x046: ts_map_key_clear(KEY_YELLOW); break; |
32 | case 0x047: ts_map_key_clear(KEY_GREEN); break; | 32 | case 0x047: ts_map_key_clear(KEY_GREEN); break; |
33 | case 0x049: ts_map_key_clear(KEY_RED); break; | 33 | case 0x049: ts_map_key_clear(KEY_BLUE); break; |
34 | case 0x04a: ts_map_key_clear(KEY_BLUE); break; | 34 | case 0x04a: ts_map_key_clear(KEY_RED); break; |
35 | case 0x00d: ts_map_key_clear(KEY_HOME); break; | 35 | case 0x00d: ts_map_key_clear(KEY_HOME); break; |
36 | case 0x025: ts_map_key_clear(KEY_TV); break; | 36 | case 0x025: ts_map_key_clear(KEY_TV); break; |
37 | case 0x048: ts_map_key_clear(KEY_VCR); break; | 37 | case 0x048: ts_map_key_clear(KEY_VCR); break; |