summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/trackpoint.h
diff options
context:
space:
mode:
authorVincent Huang <vincent.huang@tw.synaptics.com>2020-09-14 12:19:08 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-09-14 12:24:46 -0700
commit6c77545af100a72bf5e28142b510ba042a17648d (patch)
treeed2c2e349af3d9e44b4828dda52954b6d3befb39 /drivers/input/mouse/trackpoint.h
parentc4440b8a457779adeec42c5e181cb4016f19ce0f (diff)
downloadlinux-stable-6c77545af100a72bf5e28142b510ba042a17648d.tar.gz
linux-stable-6c77545af100a72bf5e28142b510ba042a17648d.tar.bz2
linux-stable-6c77545af100a72bf5e28142b510ba042a17648d.zip
Input: trackpoint - add new trackpoint variant IDs
Add trackpoint variant IDs to allow supported control on Synaptics trackpoints. Signed-off-by: Vincent Huang <vincent.huang@tw.synaptics.com> Link: https://lore.kernel.org/r/20200914120327.2592-1-vincent.huang@tw.synaptics.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/trackpoint.h')
-rw-r--r--drivers/input/mouse/trackpoint.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/input/mouse/trackpoint.h b/drivers/input/mouse/trackpoint.h
index 5cb93ed26085..eb5412904fe0 100644
--- a/drivers/input/mouse/trackpoint.h
+++ b/drivers/input/mouse/trackpoint.h
@@ -24,10 +24,12 @@
* 0x01 was the original IBM trackpoint, others implement very limited
* subset of trackpoint features.
*/
-#define TP_VARIANT_IBM 0x01
-#define TP_VARIANT_ALPS 0x02
-#define TP_VARIANT_ELAN 0x03
-#define TP_VARIANT_NXP 0x04
+#define TP_VARIANT_IBM 0x01
+#define TP_VARIANT_ALPS 0x02
+#define TP_VARIANT_ELAN 0x03
+#define TP_VARIANT_NXP 0x04
+#define TP_VARIANT_JYT_SYNAPTICS 0x05
+#define TP_VARIANT_SYNAPTICS 0x06
/*
* Commands