OSDN Git Service

platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360
authorAleh Filipovich <aleh@vaolix.com>
Fri, 10 Aug 2018 20:07:25 +0000 (22:07 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Aug 2018 10:17:48 +0000 (13:17 +0300)
commit880b29ac107d15644bf4da228376ba3cd6af6d71
treef695f27949b2da938a4716c3072adc80161298e1
parentaa7d16bfa3bd7a753c59b9bae1ac1ccda33bc27a
platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360

Add entry to WMI keymap for lid flip event on Asus UX360.

On Asus Zenbook ux360 flipping lid from/to tablet mode triggers
keyscan code 0xfa which cannot be handled and results in kernel
log message "Unknown key fa pressed".

Signed-off-by: Aleh Filipovich<aleh@appnexus.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-nb-wmi.c