comparison include/SDL_events.h @ 4683:15dfe42edbfd

Fixed gestureMulti. Disabled dollar gesture temporarily.
author Jim Grandpre <jim.tla@gmail.com>
date Wed, 04 Aug 2010 23:17:30 -0400
parents f8431f66613d
children f9ab8df6d45a
comparison
equal deleted inserted replaced
4682:4ba1048a324c 4683:15dfe42edbfd
294 Uint8 padding1; 294 Uint8 padding1;
295 Uint8 padding2; 295 Uint8 padding2;
296 Uint8 padding3; 296 Uint8 padding3;
297 Uint16 x; 297 Uint16 x;
298 Uint16 y; 298 Uint16 y;
299 Sint16 dx;
300 Sint16 dy;
299 Uint16 pressure; 301 Uint16 pressure;
300 } SDL_TouchFingerEvent; 302 } SDL_TouchFingerEvent;
301 303
302 304
303 /** 305 /**
326 SDL_TouchID touchId; /**< The touch device index */ 328 SDL_TouchID touchId; /**< The touch device index */
327 float dTheta; 329 float dTheta;
328 float dDist; 330 float dDist;
329 float x; //currently 0...1. Change to screen coords? 331 float x; //currently 0...1. Change to screen coords?
330 float y; 332 float y;
331 333 Uint16 numFingers;
334 Uint16 padding;
332 } SDL_MultiGestureEvent; 335 } SDL_MultiGestureEvent;
333 336
334 typedef struct SDL_DollarGestureEvent 337 typedef struct SDL_DollarGestureEvent
335 { 338 {
336 Uint32 type; /**< ::SDL_DOLLARGESTURE */ 339 Uint32 type; /**< ::SDL_DOLLARGESTURE */