SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_TouchFingerEvent Struct Reference

SDL_TouchFingerEvent Struct Reference

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

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_FINGERMOTION or SDL_FINGERDOWN or SDL_FINGERUP
SDL_TouchID touchId
 The touch device id.
float x
 Normalized in the range 0...1.
float y
 Normalized in the range 0...1.
float dx
 Normalized in the range 0...1.
float dy
 Normalized in the range 0...1.
float pressure
 Normalized in the range 0...1.

Detailed Description

Touch finger event structure (event.tfinger.

*)

Definition at line 387 of file SDL_events.h.


Field Documentation

float dx

Normalized in the range 0...1.

Definition at line 395 of file SDL_events.h.

float dy

Normalized in the range 0...1.

Definition at line 396 of file SDL_events.h.

float pressure

Normalized in the range 0...1.

Definition at line 397 of file SDL_events.h.

SDL_TouchID touchId

The touch device id.

Definition at line 391 of file SDL_events.h.

SDL_FINGERMOTION or SDL_FINGERDOWN or SDL_FINGERUP

Definition at line 389 of file SDL_events.h.

float x

Normalized in the range 0...1.

Definition at line 393 of file SDL_events.h.

float y

Normalized in the range 0...1.

Definition at line 394 of file SDL_events.h.