Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
This commit is contained in:
parent
68b3cfb42f
commit
794c5cb3ee
10 changed files with 464 additions and 13 deletions
|
@ -340,6 +340,7 @@ typedef struct SDL_DollarGestureEvent
|
|||
Uint32 windowID; /**< The window with mouse focus, if any */
|
||||
SDL_TouchID touchId; /**< The touch device index */
|
||||
SDL_GestureID gestureId;
|
||||
Uint32 numFingers;
|
||||
float error;
|
||||
/*
|
||||
//TODO: Enable to give location?
|
||||
|
|
|
@ -50,11 +50,11 @@ struct SDL_Finger {
|
|||
SDL_FingerID id;
|
||||
Uint16 x;
|
||||
Uint16 y;
|
||||
Uint16 pressure;
|
||||
Uint16 xdelta;
|
||||
Uint16 ydelta;
|
||||
Uint16 last_x, last_y,last_pressure; /* the last reported coordinates */
|
||||
SDL_bool down;
|
||||
Uint16 pressure;
|
||||
};
|
||||
|
||||
typedef struct SDL_Touch SDL_Touch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue