]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: thinkpad_acpi: Move hkey > scancode mapping to tpacpi_input_send_key()
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Apr 2024 12:28:23 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:44:13 +0000 (11:44 +0200)
commitc1a8c7f1dc2ff4e0041fd333317bca06615fbb9e
treef51c787d89fb211421af3135f2208cc932d7df31
parent99ce461c845adb5877c21d960b369aa86b8e1f41
platform/x86: thinkpad_acpi: Move hkey > scancode mapping to tpacpi_input_send_key()

Move the mapping of hkey events to scancodes to tpacpi_input_send_key(),
this results in a nice cleanup and prepares things for adding sparse-keymap
support.

Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240424122834.19801-14-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c