diff options
author | Olivier Gay <ogay@logitech.com> | 2014-10-17 19:53:39 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-10-20 15:03:58 -0400 |
commit | f974008f07a62171a9dede08250c9a35c2b2b986 (patch) | |
tree | fbc858528dae8c9fce6739abd59a0ca819f343d8 /drivers/hid/hid-input.c | |
parent | 1af39588f84c7c18f8c6d88342f36513a4ce383c (diff) |
HID: add keyboard input assist hid usages
Add keyboard input assist controls usages from approved
hid usage table request HUTTR42:
http://www.usb.org/developers/hidpage/HUTRR42c.pdf
Signed-off-by: Olivier Gay <ogay@logitech.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 2df7fddbd119..56c6c30f2c7d 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -862,6 +862,13 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
862 | case 0x28b: map_key_clear(KEY_FORWARDMAIL); break; | 862 | case 0x28b: map_key_clear(KEY_FORWARDMAIL); break; |
863 | case 0x28c: map_key_clear(KEY_SEND); break; | 863 | case 0x28c: map_key_clear(KEY_SEND); break; |
864 | 864 | ||
865 | case 0x2c7: map_key_clear(KEY_KBDINPUTASSIST_PREV); break; | ||
866 | case 0x2c8: map_key_clear(KEY_KBDINPUTASSIST_NEXT); break; | ||
867 | case 0x2c9: map_key_clear(KEY_KBDINPUTASSIST_PREVGROUP); break; | ||
868 | case 0x2ca: map_key_clear(KEY_KBDINPUTASSIST_NEXTGROUP); break; | ||
869 | case 0x2cb: map_key_clear(KEY_KBDINPUTASSIST_ACCEPT); break; | ||
870 | case 0x2cc: map_key_clear(KEY_KBDINPUTASSIST_CANCEL); break; | ||
871 | |||
865 | default: goto ignore; | 872 | default: goto ignore; |
866 | } | 873 | } |
867 | break; | 874 | break; |