summaryrefslogtreecommitdiff
path: root/drivers/usb/input
diff options
context:
space:
mode:
authorMicah F. Galizia <mfgalizi@uwo.ca>2006-03-14 08:09:34 +0300
committerDmitry Torokhov <dtor_core@ameritech.net>2006-03-14 08:09:34 +0300
commit50a598de407ea2e2f4e20bc34eeefe8bb5a8071e (patch)
tree5ffdb8ab9ef6385defb41112d56557192a67130f /drivers/usb/input
parentb39787a972042ded183343b177d9c595b5704575 (diff)
downloadlinux-50a598de407ea2e2f4e20bc34eeefe8bb5a8071e.tar.xz
Input: HID - fix duplicate key mapping for Logitech UltraX remote
This patch makes the "cc/teletext" key emit "KEY_TEXT" event instead of "KEY_SUBTITLE" which is already mapped to "subtitle" button. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input')
-rw-r--r--drivers/usb/input/hid-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c
index cb0d80f49252..25bc85f8ce39 100644
--- a/drivers/usb/input/hid-input.c
+++ b/drivers/usb/input/hid-input.c
@@ -510,7 +510,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
case 0x025: map_key_clear(KEY_TV); break;
case 0x026: map_key_clear(KEY_MENU); break;
case 0x031: map_key_clear(KEY_AUDIO); break;
- case 0x032: map_key_clear(KEY_SUBTITLE); break;
+ case 0x032: map_key_clear(KEY_TEXT); break;
case 0x033: map_key_clear(KEY_LAST); break;
case 0x047: map_key_clear(KEY_MP3); break;
case 0x048: map_key_clear(KEY_DVD); break;