My Project
Public Attributes | List of all members
SDL_DollarGestureEvent Struct Reference

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

#include <SDL_events.h>

Public Attributes

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.*)

Member Data Documentation

◆ timestamp

Uint32 SDL_DollarGestureEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

◆ touchId

SDL_TouchID SDL_DollarGestureEvent::touchId

The touch device id

◆ type

Uint32 SDL_DollarGestureEvent::type

::SDL_DOLLARGESTURE or ::SDL_DOLLARRECORD

◆ x

float SDL_DollarGestureEvent::x

Normalized center of gesture

◆ y

float SDL_DollarGestureEvent::y

Normalized center of gesture


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