Message ID | 20220218021551.1.I3a7746ad05d270161a18334ae06e3b6db1a1d339@changeid (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Jiri Kosina |
Headers | show |
Series | HID: Add KEY_DASHBOARD usage code | expand |
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index eccd89b5ea9f..de738927565c 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -1162,6 +1162,8 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel case 0x29d: map_key_clear(KEY_KBD_LAYOUT_NEXT); break; + case 0x2a2: map_key_clear(KEY_DASHBOARD); break; + case 0x2c7: map_key_clear(KEY_KBDINPUTASSIST_PREV); break; case 0x2c8: map_key_clear(KEY_KBDINPUTASSIST_NEXT); break; case 0x2c9: map_key_clear(KEY_KBDINPUTASSIST_PREVGROUP); break;
This patch maps the 0x0c/0x2a2 usage code to KEY_DASHBOARD. Signed-off-by: William Mahon <wmahon@google.com> --- drivers/hid/hid-input.c | 2 ++ 1 file changed, 2 insertions(+)