SDL  2.0
SDL_DollarGestureEvent Struct Reference

Dollar Gesture Event (event.dgesture.*) More...

#include <SDL_events.h>

Data Fields

Uint32 type
 
Uint32 timestamp
 
SDL_TouchID touchId
 
SDL_GestureID gestureId
 
Uint32 numFingers
 
float error
 
float x
 
float y
 

Detailed Description

Dollar Gesture Event (event.dgesture.*)

Definition at line 507 of file SDL_events.h.

Field Documentation

◆ error

float SDL_DollarGestureEvent::error

Definition at line 514 of file SDL_events.h.

◆ gestureId

SDL_GestureID SDL_DollarGestureEvent::gestureId

Definition at line 512 of file SDL_events.h.

◆ numFingers

Uint32 SDL_DollarGestureEvent::numFingers

Definition at line 513 of file SDL_events.h.

◆ timestamp

Uint32 SDL_DollarGestureEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

Definition at line 510 of file SDL_events.h.

◆ touchId

SDL_TouchID SDL_DollarGestureEvent::touchId

The touch device id

Definition at line 511 of file SDL_events.h.

◆ type

Uint32 SDL_DollarGestureEvent::type

SDL_DOLLARGESTURE or SDL_DOLLARRECORD

Definition at line 509 of file SDL_events.h.

◆ x

float SDL_DollarGestureEvent::x

Normalized center of gesture

Definition at line 515 of file SDL_events.h.

◆ y

float SDL_DollarGestureEvent::y

Normalized center of gesture

Definition at line 516 of file SDL_events.h.


The documentation for this struct was generated from the following file: