platform/x86: hp-wmi: Support touchpad on/off
authorDaniel Houldsworth <dhould3@gmail.com>
Thu, 22 Sep 2022 11:54:59 +0000 (12:54 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Sep 2022 13:56:09 +0000 (15:56 +0200)
commit401199ffa9b69baf3fd1f9ad082aa65c10910585
treefdba6140035de73e719179776a96ef9cc2c73605
parentbb95d5c540a4101024fc36512d65b2cf2663bbdb
platform/x86: hp-wmi: Support touchpad on/off

Add scancodes reported by the touchpad on/off button. The actual disabling
and enabling is done in hardware, and this just reports that change to
userspace.

Signed-off-by: Daniel Houldsworth <dhould3@gmail.com>
Link: https://lore.kernel.org/r/20220922115459.6511-1-dhould3@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp-wmi.c