[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4982FC39.7080308@euromail.se>
Date: Fri, 30 Jan 2009 14:10:17 +0100
From: Henrik Rydberg <rydberg@...omail.se>
To: Joon Young Shim <dofmind@...il.com>
CC: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/6] input: Add a detailed multi-touch finger data report
protocol (rev2)
Joon Young Shim wrote:
> 2009/1/28 Henrik Rydberg <rydberg@...omail.se>:
[snip]
>
> Hi Henrik,
>
> Sorry for multiple posts.
>
> I want to know how calculates touch coordinates at user space using a
> set of ABS_MT.
> If i do dual touch, can i get correct two coordinates through ABS_MT report?
The coordinates for the two fingers are sent from the driver in sequence
as two separate finger packets. What then happens with it depends on the
kind of application. For normal desktop usage, the packets are read from
the input device by the multitouch X driver (a modified version of the
synaptics driver), which does finger matching and transforms the
messages into gestures, reported as X events. It is of course also
possible to read the input device directly. It goes without saying that
further development is needed before the multitouch X driver hits the
repos, but none of this can really become reality without basic support
in the kernel.
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists