diff options
author | Steffen Barszus <steffenbpunkt@googlemail.com> | 2011-02-14 18:53:48 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-15 09:29:57 (GMT) |
commit | 6497dc3a5473a0a7948765c45c3dad9ef0395b28 (patch) | |
tree | dd6f944ca1acf8c4d2e5aed64147b9980484351f /drivers/hid/hid-gyration.c | |
parent | 3a22ebe9cc76acac2511b1d3979a35609924ce42 (diff) | |
download | linux-6497dc3a5473a0a7948765c45c3dad9ef0395b28.tar.xz |
HID: Add teletext/color keys - gyration remote - EU version (GYAR3101CKDE)
This patch adds support for 5 keys which can be found
only on the EU version of the gyration remote, which has been not
mapped before.
Signed-off-by: Steffen Barszus <steffenbpunkt[AT]googlemail[DOT]com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-gyration.c')
-rw-r--r-- | drivers/hid/hid-gyration.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/hid-gyration.c b/drivers/hid/hid-gyration.c index 3975e03..e88b951 100644 --- a/drivers/hid/hid-gyration.c +++ b/drivers/hid/hid-gyration.c @@ -43,6 +43,11 @@ static int gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, case 0x048: gy_map_key_clear(KEY_MEDIA); break; case 0x049: gy_map_key_clear(KEY_CAMERA); break; case 0x04a: gy_map_key_clear(KEY_VIDEO); break; + case 0x05a: gy_map_key_clear(KEY_TEXT); break; + case 0x05b: gy_map_key_clear(KEY_RED); break; + case 0x05c: gy_map_key_clear(KEY_GREEN); break; + case 0x05d: gy_map_key_clear(KEY_YELLOW); break; + case 0x05e: gy_map_key_clear(KEY_BLUE); break; default: return 0; |