Wiki Page Content

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2011-01-12 23:05:10
Size: 1214
Editor: SheenaSmith
Comment: create page - changeset 4971 touch/gesture
Revision 3 as of 2011-01-12 23:24:34
Size: 1419
Editor: SheenaSmith
Comment: minor change
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.)>>

DRAFT

SDL_TouchFingerEvent

A structure that contains touch finger motion/finger event structure information.

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


CategoryStruct, CategoryEvents

None: SDL_TouchFingerEvent (last edited 2016-11-20 22:00:55 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit