[PATCH] Register KEY_TOUCHPAD_TOGGLE with input device
From: Jan-Marek Glogowski
Date: Mon Jun 27 2016 - 04:09:41 EST
Probably just squash that into
[PATCH] fujitsu-laptop: Support touchpad toggle hotkey on Skylake-based models
Signed-off-by: Jan-Marek Glogowski <glogow@xxxxxxxxxx>
---
fujitsu-laptop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c
index 695bd5e..42319c8 100644
--- a/drivers/platform/x86/fujitsu-laptop.c
+++ b/drivers/platform/x86/fujitsu-laptop.c
@@ -884,6 +884,7 @@ static int acpi_fujitsu_hotkey_add(struct acpi_device *device)
set_bit(fujitsu->keycode3, input->keybit);
set_bit(fujitsu->keycode4, input->keybit);
set_bit(fujitsu->keycode5, input->keybit);
+ set_bit(KEY_TOUCHPAD_TOGGLE, input->keybit);
set_bit(KEY_UNKNOWN, input->keybit);
error = input_register_device(input);
--
1.9.1