Skip to contentSkip to conversation

Input: elantech - enable middle button of touchpad on ThinkPad P72

PATCH Applied Aaron Ma 2 participants 2 messages Sep 7, 2018 – Sep 18, 2018

Subsystems (2)
lore
Share & tools
lore

Aaron Ma

author
#0 lore raw

PATCH 1/1 Input: elantech - enable middle button of touchpad on ThinkPad P72

Adding 2 new touchpad IDs to support middle button support.

---
 drivers/input/mouse/elantech.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/input/mouse/elantech.c +2 -0
index 44f57cf6675b..2d95e8d93cc7 100644
@@ -1178,6 +1178,8 @@ static const struct dmi_system_id elantech_dmi_has_middle_button[] = {
 static const char * const middle_button_pnp_ids[] = {
 	"LEN2131", /* ThinkPad P52 w/ NFC */
 	"LEN2132", /* ThinkPad P52 */
+	"LEN2133", /* ThinkPad P72 w/ NFC */
+	"LEN2134", /* ThinkPad P72 */
 	NULL
 };
 
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Aaron Ma

Adding 2 new touchpad IDs to support middle button support.

Applied, thank you.

Quoted 20 lines
---
 drivers/input/mouse/elantech.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/input/mouse/elantech.c +2 -0
index 44f57cf6675b..2d95e8d93cc7 100644
@@ -1178,6 +1178,8 @@ static const struct dmi_system_id elantech_dmi_has_middle_button[] = {
 static const char * const middle_button_pnp_ids[] = {
 	"LEN2131", /* ThinkPad P52 w/ NFC */
 	"LEN2132", /* ThinkPad P52 */
+	"LEN2133", /* ThinkPad P72 w/ NFC */
+	"LEN2134", /* ThinkPad P72 */
 	NULL
 };
 
Signature · 1 line
2.17.1
Signature · 1 line
Dmitry