[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240324210817.192033-2-mpearson-lenovo@squebb.ca>
Date: Sun, 24 Mar 2024 17:07:58 -0400
From: Mark Pearson <mpearson-lenovo@...ebb.ca>
To: mpearson-lenovo@...ebb.ca
Cc: hdegoede@...hat.com,
ilpo.jarvinen@...ux.intel.com,
hmh@....eng.br,
dmitry.torokhov@...il.com,
ibm-acpi-devel@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org,
linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org,
njoshi1@...ovo.com,
vsankar@...ovo.com,
peter.hutterer@...hat.com
Subject: [PATCH 1/4] Input: Add trackpoint doubletap and system debug info keycodes
Add support for new input events on Lenovo laptops that need exporting to
user space.
Lenovo trackpoints are adding the ability to generate a doubletap event.
Add a new keycode to allow this to be used by userspace.
Lenovo support is using FN+N with Windows to collect needed details for
support cases. Add a keycode so that we'll be able to provide similar
support on Linux.
Suggested-by: Peter Hutterer <peter.hutterer@...hat.com>
Signed-off-by: Mark Pearson <mpearson-lenovo@...ebb.ca>
Signed-off-by: Nitin Joshi <njoshi1@...ovo.com>
Signed-off-by: Vishnu Sankar <vsankar@...ovo.com>
---
include/uapi/linux/input-event-codes.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 03edf2ccdf6c..bd3baca95749 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -686,6 +686,8 @@
#define KEY_SIDEVU_SONAR 0x287
#define KEY_NAV_INFO 0x288
#define KEY_BRIGHTNESS_MENU 0x289
+#define KEY_DOUBLECLICK 0x28a
+#define KEY_SYS_DEBUG_INFO 0x28b
/*
* Some keyboards have keys which do not have a defined meaning, these keys
--
2.44.0
Powered by blists - more mailing lists