Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2013-06-16 09:37:29
Size: 1283
Comment: Updated fields to match SDL_events.h.
Revision 7 as of 2013-09-01 19:08:44
Size: 1305
Comment: Updated usage of Color2 macro.
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
<<Color2(green,Note that SDL_GestureID is not defined in this header.)>>
<<Color2(green,Worth changing touchId and gestureId to touchID and gestureID for consistency?)>>
<<Color2(col=green,text="Note that SDL_GestureID is not defined in this header.")>>
<<Color2(col=green,text="Worth changing touchId and gestureId to touchID and gestureID for consistency?")>>

DRAFT

SDL_DollarGestureEvent

A structure that contains complex gesture event information???.

Data Fields

Uint32

type

SDL_DOLLARGESTURE

SDL_TouchID

touchId

the touch device index

SDL_GestureID

gestureId

description

Uint32

numFingers

description

float

error

description

float

x

//currently 0...1. Change to screen coords?

float

y

description

Note that SDL_GestureID is not defined in this header.

Worth changing touchId and gestureId to touchID and gestureID for consistency?

Code Examples

You can add your code example here

Remarks

SDL_DollarGestureEvent is a member of the SDL_Event union and is used when an event of type SDL_DOLLARGESTURE is reported. You would access it through the event's dgesture field.


CategoryStruct, CategoryEvents

None: SDL_DollarGestureEvent (last edited 2015-07-18 19:24:49 by PhilippWiesemann)

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