The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] Fixed ideapad-laptop driver to support Yoga 9 2 in 1 14imh9 unknown keys
@ 2025-03-13 15:17 Gašper Nemgar
  2025-03-14  4:38 ` Ike Panhc
  2025-03-14  9:34 ` Hans de Goede
  0 siblings, 2 replies; 9+ messages in thread
From: Gašper Nemgar @ 2025-03-13 15:17 UTC (permalink / raw)
  To: ike.pan; +Cc: linux-kernel

diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 30bd366d7..af124aafe 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -1308,6 +1308,14 @@ static const struct key_entry ideapad_keymap[] = {
 	/* Specific to some newer models */
 	{ KE_KEY,	0x3e | IDEAPAD_WMI_KEY, { KEY_MICMUTE } },
 	{ KE_KEY,	0x3f | IDEAPAD_WMI_KEY, { KEY_RFKILL } },
+	/*Star- (User Asignable Key)*/
+	{ KE_KEY,	0x44 | IDEAPAD_WMI_KEY, { KEY_PROG1 } },
+	/*Eye*/
+	{ KE_KEY,	0x45 | IDEAPAD_WMI_KEY, { KEY_DISPLAYTOGGLE } },
+	/*Performance*/
+	{ KE_KEY,	0x3d | IDEAPAD_WMI_KEY, { KEY_SPORT } },
+	/*shift + prtsc*/
+	{ KE_KEY,	0x2d | IDEAPAD_WMI_KEY, { KEY_PROG3 } },
 
 	{ KE_END },
 };

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

end of thread, other threads:[~2025-03-17 15:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 15:17 [PATCH] Fixed ideapad-laptop driver to support Yoga 9 2 in 1 14imh9 unknown keys Gašper Nemgar
2025-03-14  4:38 ` Ike Panhc
2025-03-14 11:52   ` Gergo Koteles
2025-03-14 12:28     ` Gašper Nemgar
2025-03-14 14:02       ` Gergo Koteles
2025-03-14  9:34 ` Hans de Goede
     [not found]   ` <CAKi4K-hFHy4_F+fQghFNNR8cnkojPcE0uXQWsf5+5dbqjXGs0g@mail.gmail.com>
2025-03-16  8:41     ` Hans de Goede
2025-03-17 14:08       ` Peter F. Patel-Schneider
2025-03-17 15:20         ` Gašper Nemgar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox