Re: [PATCH] input: Add a detailed multi-touch finger data report protocol

Arjan Opmeer
2008-11-08T11:29:24Z

Hi Henrik,

On Sat, Nov 08, 2008 at 11:43:32AM +0100, Henrik Rydberg wrote:
>
> For chips that cannot produce the above events, one simply reports less
> data. [...]
> The minimum set of data is TOUCH, POSITION_X and POSITION_Y. If touch
> pressure information is not given in trackpad dimension units, use a
> specific range.

The Elantech touchpad does not seem to be able to report pressure, only
finger coordinates.

> I believe all current drivers are able to produce this data.

The Elantech driver is not... :)

> It is designed to bring advanced gestures to the linux desktop.

Certainly. Have you already thought about the rest of the path from driver
to application, ie kernel driver -> X.org driver -> X events -> toolkit
events -> application?

For instance does the X.org driver interpret the data and emit a zoom or
rotate event based on the finger position and movement? As far as I know
those event do not exist and would have to be added to X.org as well as the
toolkits like GTK+ and Qt. It could be a long implementation process... :(

Arjan