⇤ ← Revision 1 as of 2011-01-12 23:05:10
Size: 1214
Comment: create page - changeset 4971 touch/gesture
|
Size: 1427
Comment: update content for consistency
|
Deletions are marked like this. | Additions are marked like this. |
Line 25: | Line 25: |
<<Color2(green,Note that touchID is described as "the touch device index" in SDL_!TouchButtonEvent. They should be consistent. Also note that SDL_!TouchID and SDL_!FingerID are not defined in this header.)>> |
DRAFT |
SDL_TouchFingerEvent
A structure that contains touch finger motion/finger event structure information.
Contents
Data Fields
Uint32 |
type |
SDL_FINGERMOTION, SDL_FINGERDOWN, or SDL_FINGERUP |
Uint32 |
windowID |
the window with mouse focus, if any |
SDL_TouchID |
touchId |
the touch device id |
SDL_FingerID |
fingerId |
description |
Uint8 |
state |
the current button state |
Uint8 |
padding1 |
description |
Uint8 |
padding2 |
description |
Uint8 |
padding3 |
description |
Uint16 |
x |
description |
Uint16 |
y |
description |
Uint16 |
dx |
description |
Uint16 |
dy |
description |
Uint16 |
pressure |
description |
green
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Enumerations
Related Structures