[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5770DDCC.8060507@fbihome.de>
Date: Mon, 27 Jun 2016 10:03:24 +0200
From: Jan-Marek Glogowski <glogow@...home.de>
To: Michał Kępień <kernel@...pniu.pl>,
Jonathan Woithe <jwoithe@...t42.net>,
Darren Hart <dvhart@...radead.org>
Cc: platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Register KEY_TOUCHPAD_TOGGLE with input device
Probably just squash that into
[PATCH] fujitsu-laptop: Support touchpad toggle hotkey on Skylake-based models
Signed-off-by: Jan-Marek Glogowski <glogow@...home.de>
---
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
Powered by blists - more mailing lists