Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)
Updated iPhone demos (which build and run again)
This commit is contained in:
parent
2c5a878c4e
commit
99b869fe2e
10 changed files with 55 additions and 39 deletions
|
@ -106,7 +106,6 @@ main(int argc, char *argv[])
|
|||
done = 1;
|
||||
break;
|
||||
case SDL_MOUSEMOTION:
|
||||
SDL_SelectMouse(event.motion.which); /* select 'mouse' (touch) that moved */
|
||||
state = SDL_GetMouseState(&x, &y); /* get its location */
|
||||
SDL_GetRelativeMouseState(&dx, &dy); /* find how much the mouse moved */
|
||||
if (state & SDL_BUTTON_LMASK) { /* is the mouse (touch) down? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue