[PATCH] Add BTN config for ShuttlePro

DORMANTno replies

From: <hidden>
Date: 2017-11-20 10:16:20
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

From: Peter Enderborg <redacted>

ShuttlePro v2 is using 0x10a to 0x10e for generic usage.
Add defines for the buttos 0x10a to 0x10f.

Signed-off-by: Peter Enderborg <redacted>
---
 include/uapi/linux/input-event-codes.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 061fa62..b5c4dc9 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -350,6 +350,12 @@
 #define BTN_7			0x107
 #define BTN_8			0x108
 #define BTN_9			0x109
+#define BTN_10			0x10a
+#define BTN_11			0x10b
+#define BTN_12			0x10c
+#define BTN_13			0x10d
+#define BTN_14			0x10e
+#define BTN_15			0x10f
 
 #define BTN_MOUSE		0x110
 #define BTN_LEFT		0x110
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help