Multitouch gestures

This commit is contained in:
pelya
2010-12-23 16:07:37 +00:00
parent 6097a63c2c
commit 1228dbe4b0
14 changed files with 438 additions and 72 deletions

View File

@@ -460,9 +460,6 @@ int main(int argc, char* argv[])
SDL_Rect r;
if(SDL_PollEvent(&event) > 0)
{
if(event.type == SDL_MOUSEBUTTONDOWN)
break;
if(event.type & (SDL_KEYUP | SDL_KEYDOWN))
{
Uint8 *keys = SDL_GetKeyState(&i);