Hi,
After I updated to the latest SDL HG for android I got a weird error.
"error: ‘SDL_Touch’ was not declared in this scope"
It used to work before the last update.
I suspect its the “Added a mouse ID to the mouse events, which set to the
special value SDL_TOUCH_MOUSEID for mouse events simulated by touch
input.” update.
In this line in my: int main( int argc, char argv[] )
SDL_Touch Finger_State;
In case SDL_FINGERDOWN:
I use it like that:
A A A A A A A A A A A A A A A A A A A Finger_State =
SDL_GetTouch(gv.event.tfinger.touchId);
A A A A A A A A A A A A A A A A A A A fx =
(GLuint)(((GLfloat)gv.event.tfinger.x / Finger_State->xres) *
SCREEN_WIDTH);
A A A A A A A A A A A A A A A A A A A fy =
(GLuint)(((GLfloat)gv.event.tfinger.y / Finger_State->yres) *
SCREEN_HEIGHT);
Can anyone help me with that?
thanks,
Giorgos