Hi Manfred,
In ewmain.c, we are having this implementation as per the documentation.
/* receive (multi-) touch inputs and provide it to the application */
noOfTouch = EwBspTouchGetEvents(&touchEvent);
if (noOfTouch > 0)
{
for (touch = 0; touch < noOfTouch; touch++)
{
/* get data out of the touch event */
finger = touchEvent[ touch ].Finger;
touchPos.X = touchEvent[ touch ].XPos;
touchPos.Y = touchEvent[ touch ].YPos;
// RemotePrintf("\r\ntouchPos.X:%d, touchPos.Y:%d\r\n",touchPos.X, touchPos.Y);
/* begin of touch cycle */
if (touchEvent[ touch ].State == EW_BSP_TOUCH_DOWN)
events |= CoreRoot__DriveMultiTouchHitting(RootObject, 1, finger, touchPos);
/* movement during touch cycle */
else if (touchEvent[ touch ].State == EW_BSP_TOUCH_MOVE)
events |= CoreRoot__DriveMultiTouchMovement(RootObject, finger, touchPos);
/* end of touch cycle */
else if (touchEvent[ touch ].State == EW_BSP_TOUCH_UP)
events |= CoreRoot__DriveMultiTouchHitting(RootObject, 0, finger, touchPos);
}
}
How this issue can be fixed further?
I want to know that is it advisable to have zoom effect with two simple touch handlers for a live graph?
Regards,
Sazna.