Mercurial > sdl-ios-xcode
comparison src/events/SDL_events.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 | 057e8762d2a1 |
children | 1f7ad083fd3c |
comparison
equal
deleted
inserted
replaced
4656:b5007b7995c6 | 4657:eed063a0bf5b |
---|---|
491 return 0; | 491 return 0; |
492 } | 492 } |
493 if (SDL_PeepEvents(event, 1, SDL_ADDEVENT, 0, 0) <= 0) { | 493 if (SDL_PeepEvents(event, 1, SDL_ADDEVENT, 0, 0) <= 0) { |
494 return -1; | 494 return -1; |
495 } | 495 } |
496 | |
497 SDL_GestureProcessEvent(event); | |
498 | |
499 | |
496 return 1; | 500 return 1; |
497 } | 501 } |
498 | 502 |
499 void | 503 void |
500 SDL_SetEventFilter(SDL_EventFilter filter, void *userdata) | 504 SDL_SetEventFilter(SDL_EventFilter filter, void *userdata) |