Skip to content

Commit aa8994f

Browse files
Carlo Caionejwrdegoede
authored andcommitted
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>
1 parent cf79177 commit aa8994f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/platform/x86/classmate-laptop.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,8 @@ static int cmpc_keys_codes[] = {
10231023
KEY_CAMERA,
10241024
KEY_BACK,
10251025
KEY_FORWARD,
1026+
KEY_UNKNOWN,
1027+
KEY_WLAN, /* NL3: 0x8b (press), 0x9b (release) */
10261028
KEY_MAX
10271029
};
10281030

0 commit comments

Comments
 (0)