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)
commite3dde4fba94e0ba5e1fd79ea9e5389eea1f0cfec
tree8f266e19a8d0124c3166c908ffe6bf9c0624a0dd
parenta67ada7a7239b78250c1594b0e02ca68eae848dc
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