platform/x86: ideapad-laptop: support Fn+R dual-function key
authorGergo Koteles <soyer@irl.hu>
Sat, 10 Feb 2024 22:51:57 +0000 (23:51 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 13 Feb 2024 11:57:46 +0000 (13:57 +0200)
commitc5211eacf3326538fbf31b612e5ea546ca8a3425
treed5674bab9fd1892084b98f86cb2fd1a3f43a71f3
parent1ae9ffd303c2028048be4cef6221a17442c0175d
platform/x86: ideapad-laptop: support Fn+R dual-function key

According to the manual, Fn+R adjusts the display refresh rate.
Map Fn+R to KEY_DISPLAYTOGGLE.

Signed-off-by: Gergo Koteles <soyer@irl.hu>
Link: https://lore.kernel.org/r/0cdbc0e6eb65e160384ae0ed152e7de3ded1d9d5.1707604991.git.soyer@irl.hu
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c