diff mbox series

[1/1] Input: elantech - enable middle button support on 2 ThinkPads

Message ID 20190621015108.8873-2-aaron.ma@canonical.com
State New
Headers show
Series Add trackpoint middle button support of 2 new thinpads | expand

Commit Message

Aaron Ma June 21, 2019, 1:51 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1833637

Adding 2 new touchpad PNPIDs to enable middle button support.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
(cherry picked from commit aa440de3058a3ef530851f9ef373fbb5f694dbc3)
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
---
 drivers/input/mouse/elantech.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 84c69e962230..43f02cdb1660 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1182,6 +1182,8 @@  static const char * const middle_button_pnp_ids[] = {
 	"LEN2132", /* ThinkPad P52 */
 	"LEN2133", /* ThinkPad P72 w/ NFC */
 	"LEN2134", /* ThinkPad P72 */
+	"LEN0407",
+	"LEN0408",
 	NULL
 };