diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-01-18 13:59:08 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-03-26 17:41:31 -0700 |
commit | 96dd86871e1fffbc39e4fa61c9c75ec54ee9af0f (patch) | |
tree | bd04d1bc78d96f87406b8b79c92d8e6cae7dba93 /drivers/hid | |
parent | f7b3d85aa7a31a90c3ef5b0992604db339a615ab (diff) | |
download | linux-96dd86871e1fffbc39e4fa61c9c75ec54ee9af0f.tar.bz2 |
HID: input: add mapping for Expose/Overview key
According to HUTRR77 usage 0x29f from the consumer page is reserved for
the Desktop application to present all running user’s application windows.
Linux defines KEY_SCALE to request Compiz Scale (Expose) mode, so let's
add the mapping.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index def58c6aa835..5f800e7b04f2 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -1030,6 +1030,8 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel case 0x2cb: map_key_clear(KEY_KBDINPUTASSIST_ACCEPT); break; case 0x2cc: map_key_clear(KEY_KBDINPUTASSIST_CANCEL); break; + case 0x29f: map_key_clear(KEY_SCALE); break; + default: map_key_clear(KEY_UNKNOWN); } break; |