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>
This commit is contained in:
parent
cf791774a1
commit
aa8994fbf2
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user