Mercurial > sdl-ios-xcode
comparison src/events/SDL_touch.c @ 4657:eed063a0bf5b
Moved Multi finger gesture recognition into the library.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Wed, 07 Jul 2010 04:13:08 -0700 |
parents | 4c94f2023d62 |
children | 0ecdbabdd7e7 |
comparison
equal
deleted
inserted
replaced
4656:b5007b7995c6 | 4657:eed063a0bf5b |
---|---|
138 SDL_touchPads[index]->fingers[0] = NULL; | 138 SDL_touchPads[index]->fingers[0] = NULL; |
139 SDL_touchPads[index]->buttonstate = 0; | 139 SDL_touchPads[index]->buttonstate = 0; |
140 SDL_touchPads[index]->relative_mode = SDL_FALSE; | 140 SDL_touchPads[index]->relative_mode = SDL_FALSE; |
141 SDL_touchPads[index]->flush_motion = SDL_FALSE; | 141 SDL_touchPads[index]->flush_motion = SDL_FALSE; |
142 | 142 |
143 //Do I want this here? Probably | |
144 SDL_GestureAddTouch(SDL_touchPads[index]); | |
145 | |
143 return index; | 146 return index; |
144 } | 147 } |
145 | 148 |
146 void | 149 void |
147 SDL_DelTouch(int id) | 150 SDL_DelTouch(int id) |