arsa  2.7
Public Attributes | List of all members
SDL_TouchFingerEvent Struct Reference

Touch finger event structure (event.tfinger.*) More...

#include <SDL_events.h>

Public Attributes

Uint32 type
 
Uint32 timestamp
 
SDL_TouchID touchId
 
SDL_FingerID fingerId
 
float x
 
float y
 
float dx
 
float dy
 
float pressure
 
Uint32 windowID
 

Detailed Description

Touch finger event structure (event.tfinger.*)

Definition at line 434 of file SDL_events.h.

Member Data Documentation

◆ dx

float SDL_TouchFingerEvent::dx

Normalized in the range -1...1

Definition at line 442 of file SDL_events.h.

◆ dy

float SDL_TouchFingerEvent::dy

Normalized in the range -1...1

Definition at line 443 of file SDL_events.h.

◆ fingerId

SDL_FingerID SDL_TouchFingerEvent::fingerId

Definition at line 439 of file SDL_events.h.

◆ pressure

float SDL_TouchFingerEvent::pressure

Normalized in the range 0...1

Definition at line 444 of file SDL_events.h.

◆ timestamp

Uint32 SDL_TouchFingerEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

Definition at line 437 of file SDL_events.h.

◆ touchId

SDL_TouchID SDL_TouchFingerEvent::touchId

The touch device id

Definition at line 438 of file SDL_events.h.

◆ type

Uint32 SDL_TouchFingerEvent::type

SDL_FINGERMOTION or SDL_FINGERDOWN or SDL_FINGERUP

Definition at line 436 of file SDL_events.h.

◆ windowID

Uint32 SDL_TouchFingerEvent::windowID

The window underneath the finger, if any

Definition at line 445 of file SDL_events.h.

◆ x

float SDL_TouchFingerEvent::x

Normalized in the range 0...1

Definition at line 440 of file SDL_events.h.

◆ y

float SDL_TouchFingerEvent::y

Normalized in the range 0...1

Definition at line 441 of file SDL_events.h.


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