Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2014-03-04 23:06:52
Size: 1208
Comment: Updated descriptions from README-gesture.txt.
Revision 9 as of 2014-03-04 23:11:20
Size: 1316
Comment: Added link to README-gesture.txt.
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
[[SDL_MultiGestureEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_MULTIGESTURE is reported. You would access it through the event's `mgesture` field.  [[SDL_MultiGestureEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_MULTIGESTURE is reported. You would access it through the event's `mgesture` field.

For more information see: [[http://hg.libsdl.org/SDL/file/default/README-gesture.txt|README-gesture.txt]]

DRAFT

SDL_MultiGestureEvent

A structure that contains multiple finger gesture event information.

Data Fields

Uint32

type

SDL_MULTIGESTURE

Uint32

timestamp

timestamp of the event

SDL_TouchID

touchId

the touch device id

float

dTheta

the amount that the fingers rotated during this motion

float

dDist

the amount that the fingers pinched during this motion

float

x

the normalized center of gesture

float

y

the normalized center of gesture

Uint16

numFingers

the number of fingers used in the gesture

Code Examples

You can add your code example here

Remarks

SDL_MultiGestureEvent is a member of the SDL_Event union and is used when an event of type SDL_MULTIGESTURE is reported. You would access it through the event's mgesture field.

For more information see: README-gesture.txt


CategoryStruct, CategoryEvents

None: SDL_MultiGestureEvent (last edited 2014-07-29 20:28:36 by PhilippWiesemann)

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