]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys
authorValtteri Koskivuori <vkoskiv@gmail.com>
Fri, 9 May 2025 18:42:49 +0000 (21:42 +0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 15 May 2025 11:45:08 +0000 (14:45 +0300)
commita7e255ff9fe4d9b8b902023aaf5b7a673786bb50
tree2b4f242dcbe47f29b9f58ad09487118b5071ba70
parentbfcfe6d335a967f8ea0c1980960e6f0205b5de6e
platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys

The S2110 has an additional set of media playback control keys enabled
by a hardware toggle button that switches the keys between "Application"
and "Player" modes. Toggling "Player" mode just shifts the scancode of
each hotkey up by 4.

Add defines for new scancodes, and a keymap and dmi id for the S2110.

Tested on a Fujitsu Lifebook S2110.

Signed-off-by: Valtteri Koskivuori <vkoskiv@gmail.com>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Link: https://lore.kernel.org/r/20250509184251.713003-1-vkoskiv@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/fujitsu-laptop.c