My Project
Loading...
Searching...
No Matches
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.*)

Field Documentation

◆ timestamp

Uint32 timestamp

In milliseconds, populated using SDL_GetTicks()

◆ touchId

SDL_TouchID touchId

The touch device id

◆ type

Uint32 type

SDL_DOLLARGESTURE or SDL_DOLLARRECORD

◆ x

float x

Normalized center of gesture

◆ y

float y

Normalized center of gesture


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