DRAFT

SDL_TouchButtonEvent

A structure that contains button touch event information.

Data Fields

Uint32

type

SDL_TOUCHBUTTONDOWN or SDL_TOUCHBUTTONUP

Uint32

windowID

the window with mouse focus, if any

SDL_TouchID

touchId

the touch device index

Uint8

state

the current button state

Uint8

button

the button changing state

Code Examples

You can add your code example here

Remarks

SDL_TouchButtonEvent is a member of the SDL_Event union and is used when an event of type SDL_TOUCHBUTTONDOWN or SDL_TOUCHBUTTONUP is reported. You would access it through the event's tbutton field.


CategoryStruct, CategoryEvents

SDL_TouchButtonEvent (last edited 2011-11-08 17:50:26 by SheenaSmith)

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