From: "Tomáš Hnyk" <tomashnyk@gmail.com>
To: platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH] platform/x86: lenovo: Reassign KEY_CUT to KEY_SELECTIVE_SCREENSHOT for Ideapad laptops
Date: Tue, 23 Dec 2025 18:36:51 +0000 [thread overview]
Message-ID: <1766514944350.665271996.4201129447@gmail.com> (raw)
In-Reply-To: <321a7ad0-03e1-4a73-a0b3-e9f9ecf2c7d5@kernel.org>
Hello,
On Thursday 11. September 2025, 16:18:11 (+02:00), Hans de Goede wrote:
> Hi,
>
> On 11-Sep-25 4:13 PM, Tomáš Hnyk wrote:
> > This key is produced by FN+PRINT_SCREEN and as per Lenovo documentation,
> > it should be "Open the Snipping tool". This corresponds to
> > KEY_SELECTIVE_SCRENSHOT, whose keycode is 0x27a. Previously, keycodes
> > under 248 were preferred due to X11 limitations, so KEY_CUT was used.
> > This is now being corrected.
> >
> > Signed-off-by: Tomáš Hnyk <tomashnyk@gmail.com>
> > ---
> > Fixes https://bugzilla.kernel.org/show_bug.cgi?id=220566
>
> Thanks, patch looks good to me:
>
> Reviewed-by: Hans de Goede <hansg@kernel.org>
>
> Regards,
>
> Hans
>
This has been a couple of months but from what I can see, this patch has not been applied, has it been forgotten?
Tomas
>
>
>
>
> > drivers/platform/x86/lenovo/ideapad-laptop.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/platform/x86/lenovo/ideapad-laptop.c b/drivers/platform/x86/lenovo/ideapad-laptop.c
> > index fcebfbaf0460..556d50fb7996 100644
> > --- a/drivers/platform/x86/lenovo/ideapad-laptop.c
> > +++ b/drivers/platform/x86/lenovo/ideapad-laptop.c
> > @@ -1328,7 +1328,7 @@ static const struct key_entry ideapad_keymap[] = {
> > /* Performance toggle also Fn+Q, handled inside ideapad_wmi_notify() */
> > { KE_KEY, 0x3d | IDEAPAD_WMI_KEY, { KEY_PROG4 } },
> > /* shift + prtsc */
> > - { KE_KEY, 0x2d | IDEAPAD_WMI_KEY, { KEY_CUT } },
> > + { KE_KEY, 0x2d | IDEAPAD_WMI_KEY, { KEY_SELECTIVE_SCREENSHOT } },
> > { KE_KEY, 0x29 | IDEAPAD_WMI_KEY, { KEY_TOUCHPAD_TOGGLE } },
> > { KE_KEY, 0x2a | IDEAPAD_WMI_KEY, { KEY_ROOT_MENU } },
> >
>
>
next prev parent reply other threads:[~2025-12-23 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 14:13 [PATCH] platform/x86: lenovo: Reassign KEY_CUT to KEY_SELECTIVE_SCREENSHOT for Ideapad laptops Tomáš Hnyk
2025-09-11 14:18 ` Hans de Goede
2025-12-23 18:36 ` Tomáš Hnyk [this message]
2025-09-15 10:11 ` Ilpo Järvinen
2025-12-26 20:37 ` Tomáš Hnyk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1766514944350.665271996.4201129447@gmail.com \
--to=tomashnyk@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox