Skip to content
Commit c7a437fd authored by Antonio Rosario Intilisano's avatar Antonio Rosario Intilisano Committed by Andy Shevchenko
Browse files

platform/x86: acer-wmi: add another KEY_POWER keycode



Now that we have informed the firmware that the Power Button driver is active,
laptops such as the Acer Swift 3 will generate a WMI key event with code 0x87
when the power button key is pressed.

Add this keycode to the table so that it is converted to
an appropriate input event.

Signed-off-by: default avatarAntonio Rosario Intilisano <antonio.intilisano@gmail.com>
Acked-by: default avatarGianfranco Costamagna <locutusofborg@debian.org>
Tested-by: default avatarAntonio Rosario Intilisano <antonio.intilisano@gmail.com>
Cc: Chris Chiu <chiu@endlessm.com>
Cc: Daniel Drake <drake@endlessm.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 40760717
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment