Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2014-03-04 22:28:51
Size: 1396
Comment: Updated descriptions from SDL_events.h.
Revision 11 as of 2014-03-04 22:35:13
Size: 1330
Comment: Removed Related Functions section.
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:
== Related Functions ==
 .[[SDL_FunctionLeaveSectionIfEmpty]]

DRAFT

SDL_DollarGestureEvent

A structure that contains complex gesture event information.

Data Fields

Uint32

type

SDL_DOLLARGESTURE

Uint32

timestamp

timestamp of the event

SDL_TouchID

touchId

the touch device id

SDL_GestureID

gestureId

description

Uint32

numFingers

description

float

error

description

float

x

normalized center of gesture

float

y

normalized center of gesture

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.

x and y are in range 0 to 1.


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