Input: elantech - enable middle button of touchpads on ThinkPad P52
authorAaron Ma <aaron.ma@canonical.com>
Fri, 22 Jun 2018 00:14:01 +0000 (17:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 22 Jun 2018 00:19:56 +0000 (17:19 -0700)
commit24bb555e6e46d96e2a954aa0295029a81cc9bbaa
treea86bf88550bdaad60d11b639040c9a413bd14349
parent01f7e67a053f7f5696fbdefe2b066303469b6db5
Input: elantech - enable middle button of touchpads on ThinkPad P52

PNPID is better way to identify the type of touchpads.
Enable middle button support on 2 types of touchpads on Lenovo P52.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c