[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4f1d9817-60b1-433d-b7a8-f37057e0980a@canonical.com>
Date: Fri, 14 Mar 2025 12:38:18 +0800
From: Ike Panhc <ike.pan@...onical.com>
To: Gašper Nemgar <gasper.nemgar@...il.com>
Cc: linux-kernel@...r.kernel.org,
"platform-driver-x86@...r.kernel.org" <platform-driver-x86@...r.kernel.org>
Subject: Re: [PATCH] Fixed ideapad-laptop driver to support Yoga 9 2 in 1
14imh9 unknown keys
On 3/13/25 23:17, Gašper Nemgar wrote:
> 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 },
> };
>
Acked-by: Ike Panhc <ike.pan@...onical.com>
Powered by blists - more mailing lists