mbox series

[v2,0/2] map Fn + R key on newer Lenovo Yogas and Legions

Message ID cover.1710065750.git.soyer@irl.hu
Headers show
Series map Fn + R key on newer Lenovo Yogas and Legions | expand

Message

Gergo Koteles March 10, 2024, 11:31 a.m. UTC
Hi All,

This patch series adds a new KEY_REFRESH_RATE_TOGGLE input event code 
and maps the Fn + R key to it in the ideapad-laptop driver.

It affects two WMI keycodes. I couldn't try the 0x0a.

Regards,
Gergo

Changes in v2:
 - use KEY_REFRESH_RATE_TOGGLE instead of KEY_FN_R

[1]: https://lore.kernel.org/all/cover.1708399689.git.soyer@irl.hu/

Gergo Koteles (2):
  Input: allocate keycode for Display refresh rate toggle
  platform/x86: ideapad-laptop: map Fn + R key to
    KEY_REFRESH_RATE_TOGGLE

 drivers/platform/x86/ideapad-laptop.c  | 4 ++--
 include/uapi/linux/input-event-codes.h | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)


base-commit: b401b621758e46812da61fa58a67c3fd8d91de0d
prerequisite-patch-id: 66a1ec71f181c6468a8226430af7ee917f40138a

Comments

Ilpo Järvinen March 11, 2024, 1:28 p.m. UTC | #1
On Sun, 10 Mar 2024, Gergo Koteles wrote:

> Hi All,
> 
> This patch series adds a new KEY_REFRESH_RATE_TOGGLE input event code 
> and maps the Fn + R key to it in the ideapad-laptop driver.
> 
> It affects two WMI keycodes. I couldn't try the 0x0a.
> 
> Regards,
> Gergo
> 
> Changes in v2:
>  - use KEY_REFRESH_RATE_TOGGLE instead of KEY_FN_R
> 
> [1]: https://lore.kernel.org/all/cover.1708399689.git.soyer@irl.hu/
> 
> Gergo Koteles (2):
>   Input: allocate keycode for Display refresh rate toggle
>   platform/x86: ideapad-laptop: map Fn + R key to
>     KEY_REFRESH_RATE_TOGGLE

Hi,

As mentioned in the other thread, please redo this on top of 
pdx86/for-next.
Ilpo Järvinen March 12, 2024, 11:01 a.m. UTC | #2
On Mon, 11 Mar 2024, Ilpo Järvinen wrote:
> On Sun, 10 Mar 2024, Gergo Koteles wrote:
> 
> > This patch series adds a new KEY_REFRESH_RATE_TOGGLE input event code 
> > and maps the Fn + R key to it in the ideapad-laptop driver.
> > 
> > It affects two WMI keycodes. I couldn't try the 0x0a.
> > 
> > Regards,
> > Gergo
> > 
> > Changes in v2:
> >  - use KEY_REFRESH_RATE_TOGGLE instead of KEY_FN_R
> > 
> > [1]: https://lore.kernel.org/all/cover.1708399689.git.soyer@irl.hu/
> > 
> > Gergo Koteles (2):
> >   Input: allocate keycode for Display refresh rate toggle
> >   platform/x86: ideapad-laptop: map Fn + R key to
> >     KEY_REFRESH_RATE_TOGGLE
> 
> As mentioned in the other thread, please redo this on top of 
> pdx86/for-next.

Nevermind, I replaced the original patches with these two.