Mercurial > sdl-ios-xcode
comparison include/SDL_events.h @ 4644:fb500b3e1717
Added pressure support for touch events.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Sat, 29 May 2010 02:09:16 -0400 |
parents | 057e8762d2a1 |
children | eed063a0bf5b |
comparison
equal
deleted
inserted
replaced
4643:8806b78988f7 | 4644:fb500b3e1717 |
---|---|
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; | 313 int x; |
314 int y; | 314 int y; |
315 int pressure; | |
315 } SDL_TouchFingerEvent; | 316 } SDL_TouchFingerEvent; |
316 | 317 |
317 | 318 |
318 /** | 319 /** |
319 * \brief Touch finger motion/finger event structure (event.tmotion.*) | 320 * \brief Touch finger motion/finger event structure (event.tmotion.*) |