Mercurial > sdl-ios-xcode
comparison touchTest/touchSimp.c @ 4642:057e8762d2a1
Added reading of event* for touch events.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Fri, 28 May 2010 01:26:52 -0400 |
parents | f068a6dfc858 |
children | 3c4e0130c9b1 |
comparison
equal
deleted
inserted
replaced
4641:49a97daea6ec | 4642:057e8762d2a1 |
---|---|
184 bstatus |= (1<<(event.button.button-1)); | 184 bstatus |= (1<<(event.button.button-1)); |
185 break; | 185 break; |
186 case SDL_MOUSEBUTTONUP: | 186 case SDL_MOUSEBUTTONUP: |
187 bstatus &= ~(1<<(event.button.button-1)); | 187 bstatus &= ~(1<<(event.button.button-1)); |
188 break; | 188 break; |
189 case SDL_FINGERMOTION: | |
190 printf("Holy SH!T\n"); | |
191 break; | |
192 | |
189 } | 193 } |
190 } | 194 } |
191 | 195 |
192 //poll for Touch <- Goal: make this a case: | 196 //poll for Touch <- Goal: make this a case: |
193 | 197 |