Skip to content

map Fn + R key on newer Lenovo Yogas and Legions

Gergo Koteles linux-input lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- use KEY_REFRESH_RATE_TOGGLE instead of KEY_FN_R

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: allocate keycode for Display refresh rate toggleinclude/uapi/linux/input-event-codes.h+1 -01 reply
2/2platform/x86: ideapad-laptop: map Fn + R key to KEY_REFRESH_RATE_TOGGLEdrivers/platform/x86/ideapad-laptop.c+2 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDmitry Torokhov
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]/

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

Signature · 1 line
2.44.0