Wiki Page Content

Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2011-01-12 23:05:10
Size: 1214
Editor: SheenaSmith
Comment: create page - changeset 4971 touch/gesture
Revision 5 as of 2011-05-04 22:23:30
Size: 1288
Editor: SheenaSmith
Comment: update content for consistency - remove padding fields
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 16: Line 16:
||Uint8||'''padding1'''||description||
||Uint8||'''padding2'''||description||
||Uint8||'''padding3'''||description||
Line 24: Line 21:

<<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 37:
 .[[SDL_TouchButtonEvent]]
Line 40: Line 40:
 .[[SDL_FunctionLeaveSectionIfEmpty]]

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

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