platform/x86: dell-wmi: Add an event created by Dell Latitude 5495
authorShih-Yuan Lee (FourDollars) <sylee@canonical.com>
Tue, 19 Dec 2017 09:39:49 +0000 (17:39 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 21 Dec 2017 12:56:27 +0000 (14:56 +0200)
The Dell Latitude 5495 has the mic mute key.

Signed-off-by: Shih-Yuan Lee (FourDollars) <sylee@canonical.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-wmi.c

index fb25b20..2c99274 100644 (file)
@@ -261,6 +261,9 @@ static const u16 bios_to_linux_keycode[256] = {
  * override them.
  */
 static const struct key_entry dell_wmi_keymap_type_0010[] = {
+       /* Mic mute */
+       { KE_KEY, 0x150, { KEY_MICMUTE } },
+
        /* Fn-lock */
        { KE_IGNORE, 0x151, { KEY_RESERVED } },