logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_Finger - Data about a single finger in a multitouch event.

Availability

       This struct is available since SDL 3.2.0.

Description

       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.

Name

       SDL_Finger - Data about a single finger in a multitouch event.

See Also

SDL_GetTouchFingers(3)

Simple Directmedia Layer                           SDL 3.2.20                                  SDL_Finger(3type)

Synopsis

#include<SDL3/SDL_touch.h>typedefstructSDL_Finger{SDL_FingerIDid;/**<thefingerID*/floatx;/**<thex-axislocationofthetouchevent,normalized(0...1)*/floaty;/**<they-axislocationofthetouchevent,normalized(0...1)*/floatpressure;/**<thequantityofpressureapplied,normalized(0...1)*/}SDL_Finger;

See Also