Skip to contentSkip to conversation

HID: input: add mapping for Assistant key

PATCH Applied Dmitry Torokhov 2 participants 2 messages Apr 2, 2019 – Apr 3, 2019 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: input: add mapping for Assistant key

According to HUTRR89 usage 0x1cb from the consumer page was assigned to allow launching desktop-aware assistant application, so let's add the mapping.

---
 drivers/hid/hid-input.c | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/hid-input.c +1 -0
index da76358cde06..a7046a322ddd 100644
@@ -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;
Signature · 5 lines
2.21.0.392.gf8f6787159e-goog


-- 
Dmitry
maintainer Applied
#1 lore raw
Quoted 5 lines · Dmitry Torokhov

According to HUTRR89 usage 0x1cb from the consumer page was assigned to allow launching desktop-aware assistant application, so let's add the mapping.

Applied, thanks Dmitry.

Signature · 2 lines
Jiri Kosina
SUSE Labs