Mercurial > sdl-ios-xcode
comparison include/SDL_events.h @ 4642:057e8762d2a1
Added reading of event* for touch events.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Fri, 28 May 2010 01:26:52 -0400 |
parents | 49a97daea6ec |
children | fb500b3e1717 |
comparison
equal
deleted
inserted
replaced
4641:49a97daea6ec | 4642:057e8762d2a1 |
---|---|
308 Uint32 windowID; /**< The window with mouse focus, if any */ | 308 Uint32 windowID; /**< The window with mouse focus, if any */ |
309 Uint8 touchId; /**< The touch device id */ | 309 Uint8 touchId; /**< The touch device id */ |
310 Uint8 state; /**< The current button state */ | 310 Uint8 state; /**< The current button state */ |
311 Uint8 fingerId; | 311 Uint8 fingerId; |
312 Uint8 padding1; | 312 Uint8 padding1; |
313 int x; | |
314 int y; | |
313 } SDL_TouchFingerEvent; | 315 } SDL_TouchFingerEvent; |
314 | 316 |
315 | 317 |
316 /** | 318 /** |
317 * \brief Touch finger motion/finger event structure (event.tmotion.*) | 319 * \brief Touch finger motion/finger event structure (event.tmotion.*) |