I don't think you'll be able to do this with the current emulator.  The
touch device needs to report that it generates events for the new Linux
multitouch protocol, and then the data it generates needs to follow that
convention:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/input/multi-touch-protocol.txt

On Thu, Nov 5, 2009 at 5:18 PM, Kevin <[email protected]> wrote:

> Hello moderators,
>
> RE: Android 2.0 - touchscreen drivers
>
> For single finger motion events we typically perform the following to
> initiate an input MotionEvent:
>
>    input_report_abs(ts->input, ABS_X, xy_data.x);
>    input_report_abs(ts->input, ABS_Y, xy_data.y);
>    input_report_abs(ts->input, ABS_PRESSURE, xy_data.z);
>    input_report_abs(ts->input, ABS_TOOL_WIDTH,10);
>    input_report_key(ts->input, BTN_TOUCH, 1);
>    input_sync(ts->input);
>
> How do I extend this sequence to include additional finger x,y data,
> finger identifiers and number of fingers?
>
> Also, when will I be able to get Android platform and kernel/msm
> source for 2.0 (-b eclair)?
>
> Thank you,
> Kevin
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to