diff options
author | Carlo Caione <carlo@endlessm.com> | 2020-12-08 14:11:11 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2020-12-08 11:18:03 +0100 |
commit | aa8994fbf2a01c91518f48848fa657d915ba046b (patch) | |
tree | 318fcbad56d13a7fae69b36bd704874cb397398b /drivers/platform | |
parent | cf791774a16caf87b0e4c0c55b82979bad0b6c01 (diff) | |
download | linux-aa8994fbf2a01c91518f48848fa657d915ba046b.tar.bz2 |
x86/platform: classmate-laptop: add WiFi media button
The WiFi media button on the Quanta NL3 reports keycodes 0x8b and 0x9b
to the platform driver. Add the mapping to support these codes.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Chris Chiu <chiu@endlessos.org>
Link: https://lore.kernel.org/r/20201208061111.29073-1-chiu@endlessos.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/classmate-laptop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c index af063f690846..3e03e8d3a07f 100644 --- a/drivers/platform/x86/classmate-laptop.c +++ b/drivers/platform/x86/classmate-laptop.c @@ -1023,6 +1023,8 @@ static int cmpc_keys_codes[] = { KEY_CAMERA, KEY_BACK, KEY_FORWARD, + KEY_UNKNOWN, + KEY_WLAN, /* NL3: 0x8b (press), 0x9b (release) */ KEY_MAX }; |