]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
platform/x86: asus-nb-wmi: Add keymap for display toggle
authorTim Wassink <timwassink.dev@gmail.com>
Sun, 21 Dec 2025 18:17:14 +0000 (19:17 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 22 Dec 2025 14:06:50 +0000 (16:06 +0200)
commite521dc1687834d0e8c7506f1fdf00daab4ebb51d
treec110a7d9cb2339cee40da8d79e12e9921489f96e
parent4dcb6e4af15bf45aa1526834e8f5e296ad7ce867
platform/x86: asus-nb-wmi: Add keymap for display toggle

On the Asus Zenbook 14 (UX3405MA), the Fn+F7 key combination emits
WMI code 0x2d, which was previously unmapped.

Map this code to KEY_DISPLAYTOGGLE. This matches the behavior of the
display toggle/projector mode key found on other Asus laptops, allowing
userspace to handle multi-monitor switching or screen toggling.

Tested on ASUS Zenbook 14 UX3405MA.

Signed-off-by: Tim Wassink <timwassink.dev@gmail.com>
Reviewed-by: Denis Benato <benato.denis96@gmail.com>
Link: https://patch.msgid.link/20251221181724.19927-1-timwassink.dev@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/asus-nb-wmi.c