SDL_Finger

Data about a single finger in a multitouch event.

Each touch event 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.

extern (C) nothrow @nogc
struct SDL_Finger {}

Members

Variables

id
SDL_FingerID id;

The finger ID

pressure
float pressure;

The quantity of pressure applied, normalized (0...1)

x
float x;

The x-axis location of the touch event, normalized (0...1)

y
float y;

The y-axis location of the touch event, normalized (0...1)

See Also

Meta