Moved Multi finger gesture recognition into the library.
This commit is contained in:
parent
af9c689b21
commit
874300f89c
10 changed files with 945 additions and 2 deletions
|
@ -493,6 +493,10 @@ SDL_PushEvent(SDL_Event * event)
|
|||
if (SDL_PeepEvents(event, 1, SDL_ADDEVENT, 0, 0) <= 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
SDL_GestureProcessEvent(event);
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue