All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: dell-wmi: Add an event created by Dell Latitude 5495
@ 2017-12-19  3:38 Shih-Yuan Lee (FourDollars)
  2017-12-19  8:34 ` Pali Rohár
  2017-12-19  9:06 ` Pali Rohár
  0 siblings, 2 replies; 11+ messages in thread
From: Shih-Yuan Lee (FourDollars) @ 2017-12-19  3:38 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: Matthew Garrett, Pali Rohár, Darren Hart, Andy Shevchenko

The Dell Latitude 5495 has the mic mute key.

Signed-off-by: Shih-Yuan Lee (FourDollars) <sylee@canonical.com>
---
 drivers/platform/x86/dell-wmi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index fb25b20..d40f803 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -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_F20 } },
+
 	/* Fn-lock */
 	{ KE_IGNORE, 0x151, { KEY_RESERVED } },
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-12-19  9:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-19  3:38 [PATCH] platform/x86: dell-wmi: Add an event created by Dell Latitude 5495 Shih-Yuan Lee (FourDollars)
2017-12-19  8:34 ` Pali Rohár
     [not found]   ` <CAApEhgh1XfzeoWL6JQN-oOn9yGvJWB74jdfFKtL==UEyhNQs7Q@mail.gmail.com>
2017-12-19  8:41     ` Pali Rohár
2017-12-19  8:45       ` Shih-Yuan Lee (FourDollars)
2017-12-19  9:00         ` Pali Rohár
2017-12-19  9:02           ` Shih-Yuan Lee (FourDollars)
2017-12-19  9:06             ` Pali Rohár
2017-12-19  9:06 ` Pali Rohár
2017-12-19  9:17   ` Shih-Yuan Lee (FourDollars)
2017-12-19  9:33     ` Pali Rohár
2017-12-19  9:38       ` Shih-Yuan Lee (FourDollars)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.