platform/x86: thinkpad_acpi: Support hotkey to disable trackpoint doubletap
authorMark Pearson <mpearson-lenovo@squebb.ca>
Wed, 24 Apr 2024 12:28:34 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:53:52 +0000 (11:53 +0200)
commitfd1e3344d13f1eedb862804dd1d2d5e184cf8eae
treec36a733ba571fac9531121f325981dded6598d1f
parent1a22cb1c4430aec49ea19346bc656805273c0e8c
platform/x86: thinkpad_acpi: Support hotkey to disable trackpoint doubletap

The hotkey combination Fn + G can be used to disable the trackpoint
doubletap feature on Windows. Add matching functionality for Linux.

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Vishnu Sankar <vishnuocv@gmail.com>
Link: https://lore.kernel.org/r/20240417173124.9953-4-mpearson-lenovo@squebb.ca
[hdegoede@redhat.com: Adjust for switch to sparse-keymap keymaps]
[hdegoede@redhat.com: Do not log unknown event msg for doubletap when disabled]
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-25-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c