SDL 3.0
|
#include <SDL_touch.h>
Data Fields | |
SDL_FingerID | id |
float | x |
float | y |
float | pressure |
Data about a single finger in a multitouch event.
Each touch even is a collection of fingers that are simultaneously in contact with the touch device (so a "touch" can be a "multitouch," in reality), and this struct reports details of the specific fingers.
Definition at line 64 of file SDL_touch.h.
SDL_FingerID SDL_Finger::id |
the finger ID
Definition at line 66 of file SDL_touch.h.
float SDL_Finger::pressure |
the quantity of pressure applied, normalized (0...1)
Definition at line 69 of file SDL_touch.h.
float SDL_Finger::x |
the x-axis location of the touch event, normalized (0...1)
Definition at line 67 of file SDL_touch.h.
float SDL_Finger::y |
the y-axis location of the touch event, normalized (0...1)
Definition at line 68 of file SDL_touch.h.