diff options
author | Antonio Rosario Intilisano <antonio.intilisano@gmail.com> | 2018-04-27 23:50:21 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-05-22 12:24:12 +0300 |
commit | c7a437fdd6e794290082cd19808627c661e15c5d (patch) | |
tree | d7ede25c7739e6e964734cc62b0aa054fecc1c1e /drivers/platform/x86/dell-wmi.c | |
parent | 40760717f9cf548e9247f2f94784e72469b175fd (diff) | |
download | lwn-c7a437fdd6e794290082cd19808627c661e15c5d.tar.gz lwn-c7a437fdd6e794290082cd19808627c661e15c5d.zip |
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: Antonio Rosario Intilisano <antonio.intilisano@gmail.com>
Acked-by: Gianfranco Costamagna <locutusofborg@debian.org>
Tested-by: Antonio 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/dell-wmi.c')
0 files changed, 0 insertions, 0 deletions