Size: 1214
Comment: create page - changeset 4971 touch/gesture
|
Size: 1408
Comment: add RS
|
Deletions are marked like this. | Additions are marked like this. |
Line 13: | Line 13: |
||SDL_TouchID||'''touchId'''||the touch device id|| | ||SDL_TouchID||'''touchId'''||the touch device ,,id,, ^index^|| |
Line 24: | Line 24: |
<<Color2(green,Note that touchID is described as "the touch device index" in all 3 other similar functions. Also note that SDL_!TouchID and SDL_!FingerID are not defined in this header.)>> |
|
Line 38: | Line 40: |
.[[SDL_TouchButtonEvent]] | |
Line 40: | Line 43: |
.[[SDL_FunctionLeaveSectionIfEmpty]] |
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 index |
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