Hi Manfred,
regarding the link, you provided, my code looks quite different:
Since there is no GetTouchPosition(), EwBspGetTouchPosition() might be the correct one to look for.
But this function only returns 1 (touch received) or 0 (no touch received).
Also the code in main.c looks differen:
/* receive touch inputs and provide the application with them */
if ( EwBspGetTouchPosition( &touchPos ))
{
/* begin of touch cycle */
if ( touched == 0 )
CoreRoot__DriveCursorHitting( rootObject, 1, 0, touchPos );
/* movement during touch cycle */
else if ( touched == 1 )
CoreRoot__DriveCursorMovement( rootObject, touchPos );
touched = 1;
events = 1;
}
/* end of touch cycle */
else if ( touched == 1 )
{
CoreRoot__DriveCursorHitting( rootObject, 0, 0, touchPos );
touched = 0;
events = 1;
}
The variable touched never gets set.