diff mbox series

HID: input: add mapping for Assistant key

Message ID 20190402165713.GA161074@dtor-ws (mailing list archive)
State Mainlined
Commit ce856634af8cda3490947df8ac1ef5843e6356af
Delegated to: Jiri Kosina
Headers show
Series HID: input: add mapping for Assistant key | expand

Commit Message

Dmitry Torokhov April 2, 2019, 4:57 p.m. UTC
According to HUTRR89 usage 0x1cb from the consumer page was assigned to
allow launching desktop-aware assistant application, so let's add the
mapping.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/hid/hid-input.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jiri Kosina April 3, 2019, 11:34 a.m. UTC | #1
On Tue, 2 Apr 2019, Dmitry Torokhov wrote:

> According to HUTRR89 usage 0x1cb from the consumer page was assigned to
> allow launching desktop-aware assistant application, so let's add the
> mapping.
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Applied, thanks Dmitry.
diff mbox series

Patch

diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index da76358cde06..a7046a322ddd 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -999,6 +999,7 @@  static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
 		case 0x1b8: map_key_clear(KEY_VIDEO);		break;
 		case 0x1bc: map_key_clear(KEY_MESSENGER);	break;
 		case 0x1bd: map_key_clear(KEY_INFO);		break;
+		case 0x1cb: map_key_clear(KEY_ASSISTANT);	break;
 		case 0x201: map_key_clear(KEY_NEW);		break;
 		case 0x202: map_key_clear(KEY_OPEN);		break;
 		case 0x203: map_key_clear(KEY_CLOSE);		break;