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 535 of file SDL_events.h.

Field Documentation

◆ error

float SDL_DollarGestureEvent::error

Definition at line 542 of file SDL_events.h.

◆ gestureId

SDL_GestureID SDL_DollarGestureEvent::gestureId

Definition at line 540 of file SDL_events.h.

◆ numFingers

Uint32 SDL_DollarGestureEvent::numFingers

Definition at line 541 of file SDL_events.h.

◆ timestamp

Uint32 SDL_DollarGestureEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

Definition at line 538 of file SDL_events.h.

◆ touchId

SDL_TouchID SDL_DollarGestureEvent::touchId

The touch device id

Definition at line 539 of file SDL_events.h.

◆ type

Uint32 SDL_DollarGestureEvent::type

SDL_DOLLARGESTURE or SDL_DOLLARRECORD

Definition at line 537 of file SDL_events.h.

◆ x

float SDL_DollarGestureEvent::x

Normalized center of gesture

Definition at line 543 of file SDL_events.h.

◆ y

float SDL_DollarGestureEvent::y

Normalized center of gesture

Definition at line 544 of file SDL_events.h.


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