]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: redmi-wmi: Add more hotkey mappings
authorJesse Guo <JesseGuoTech@outlook.com>
Sun, 25 Jan 2026 20:48:26 +0000 (04:48 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Feb 2026 16:02:59 +0000 (18:02 +0200)
commite3aa6feaf0cc30a3c941d15ff04bc1005a8aa315
tree1e3bd642ced13c281479405d02cf4cb38389d3e0
parentbd5914caeb4b2de233992c31babccda88041b035
platform/x86: redmi-wmi: Add more hotkey mappings

This patch adds more Fn hotkeys (like Refresh rate toggle).
Additionally, remap the setup key from KEY_SETUP to KEY_CONFIG.
As KEY_CONFIG is supported by Desktop Environments for launching
system settings, whereas KEY_SETUP is often ignored by userspace.

Signed-off-by: Jesse Guo <JesseGuoTech@outlook.com>
Reviewed-by: Gladyshev Ilya <foxido@foxido.dev>
Link: https://patch.msgid.link/TYCPR01MB6851636256C39B170F2312E5D192A@TYCPR01MB6851.jpnprd01.prod.outlook.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/redmi-wmi.c