Commit 6c77545a authored by Vincent Huang's avatar Vincent Huang Committed by Dmitry Torokhov

Input: trackpoint - add new trackpoint variant IDs

Add trackpoint variant IDs to allow supported control on Synaptics
trackpoints.
Signed-off-by: default avatarVincent 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: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent c4440b8a
...@@ -21,6 +21,8 @@ static const char * const trackpoint_variants[] = { ...@@ -21,6 +21,8 @@ static const char * const trackpoint_variants[] = {
[TP_VARIANT_ALPS] = "ALPS", [TP_VARIANT_ALPS] = "ALPS",
[TP_VARIANT_ELAN] = "Elan", [TP_VARIANT_ELAN] = "Elan",
[TP_VARIANT_NXP] = "NXP", [TP_VARIANT_NXP] = "NXP",
[TP_VARIANT_JYT_SYNAPTICS] = "JYT_Synaptics",
[TP_VARIANT_SYNAPTICS] = "Synaptics",
}; };
/* /*
......
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#define TP_VARIANT_ALPS 0x02 #define TP_VARIANT_ALPS 0x02
#define TP_VARIANT_ELAN 0x03 #define TP_VARIANT_ELAN 0x03
#define TP_VARIANT_NXP 0x04 #define TP_VARIANT_NXP 0x04
#define TP_VARIANT_JYT_SYNAPTICS 0x05
#define TP_VARIANT_SYNAPTICS 0x06
/* /*
* Commands * Commands
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment