Input: trackpoint - add new trackpoint variant IDs
Subsystems (2)
PATCH v2 1/1 Input: trackpoint - add new trackpoint variant IDs
Add trackpoint variant IDs to allow supported control on Synaptics trackpoints
Signed-off-by Vincent Huang <[email protected]>
--- drivers/input/mouse/trackpoint.c | 2 ++ drivers/input/mouse/trackpoint.h | 2 ++ 2 files changed, 4 insertions(+)
drivers/input/mouse/trackpoint.c +2 -0
@@ -21,6 +21,8 @@ static const char * const trackpoint_variants[] = { [TP_VARIANT_ALPS] = "ALPS", [TP_VARIANT_ELAN] = "Elan", [TP_VARIANT_NXP] = "NXP", + [TP_VARIANT_JYT_SYNAPTICS] = "JYT_Synaptics", + [TP_VARIANT_SYNAPTICS] = "Synaptics", };/*
drivers/input/mouse/trackpoint.h +2 -0
@@ -28,6 +28,8 @@#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
Signature · 1 line
2.25.1
Quoted 4 lines · Vincent Huang
Add trackpoint variant IDs to allow supported control on Synaptics trackpoints
Signed-off-by Vincent Huang <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry