]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elantech - v4 is a clickpad, with only one button
authorJJ Ding <jj_ding@emc.com.tw>
Tue, 10 Apr 2012 07:30:12 +0000 (00:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 10 Apr 2012 07:40:35 +0000 (00:40 -0700)
commita14f66b701ec998dab4602715abf30c051bdf974
tree8f266e19a8d0124c3166c908ffe6bf9c0624a0dd
parentcac166cc282e3054454316ff585c073455208729
Input: elantech - v4 is a clickpad, with only one button

Add pointer and buttonpad properties for v4 hardware.

Also, Jachiet reported that on Asus UX31, right button has no effect.
It turns out v4 has only one button, the right-button effect is
implemented with software when Windows driver is installed, or in
firmware when touchpad is in relative mode. So remove BTN_RIGHT
while at it.

Reported-by: Jachiet Louis <louis@jachiet.com>
Signed-off-by: JJ Ding <jj_ding@emc.com.tw>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c