]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elantech - report multitouch with proper ABS_MT messages
authorÉric Piel <E.A.B.Piel@tudelft.nl>
Tue, 17 May 2011 05:45:54 +0000 (22:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 May 2011 05:48:39 +0000 (22:48 -0700)
commit9525257a8c28a6788fae62023762b3ab9809db90
treef20c42679ecca9939454ca95427918282e9ada6e
parent7e8b4b6c29049f4119d9c23f9b0ab159826bae5e
Input: elantech - report multitouch with proper ABS_MT messages

Multitouch info was reported only via a old protocol used by the
proprietary X driver from elantech. Let's report the multitouch info
also following the official MT protocol. It's semi-mt because the device
only reports the lowest/highest coordinates.

This was done following the multi-touch-protocol.txt documentation, and
inspired by the bcm5974 and elantech implementations. Testing was light
as there is not many applications using this protocol yet, but the X
synaptics driver didn't complain and the X multitouch driver behaved
correctly.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c