OSDN Git Service

Input: elantech - report the middle button of the touchpad
authorUlrik De Bie <ulrik.debie-os@e2big.org>
Fri, 14 Nov 2014 01:45:12 +0000 (17:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Nov 2014 01:50:22 +0000 (17:50 -0800)
commitf386474e12a560e005ec7899e78f51f6bdc3cf41
treee6de2dd71ca04297b169a81ae79afd3c7c5aa9bc
parenta7ef82aee91f26da79b981b9f5bca43b8817d3e4
Input: elantech - report the middle button of the touchpad

In the past, no elantech was known with 3 touchpad mouse buttons.
Fujitsu H730 is the first known elantech with a middle button. This commit
enables this middle button. For backwards compatibility, the Fujitsu is
detected via DMI, and only for this one 3 buttons will be announced.

Reported-by: Stefan Valouch <stefan@valouch.com>
Signed-off-by: Ulrik De Bie <ulrik.debie-os@e2big.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c