Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_FingerID - A unique ID for a single finger on a touch device.

Availability

       This datatype is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                                SDL_FingerID(3type)

Description

       This  ID  is  valid  for the time the finger (stylus, etc) is touching and will be unique for all fingers
       currently in contact, so this ID tracks the lifetime  of  a  single  continuous  touch.  This  value  may
       represent an index, a pointer, or some other unique ID, depending on the platform.

       The value 0 is an invalid ID.

Name

       SDL_FingerID - A unique ID for a single finger on a touch device.

Synopsis

#include<SDL3/SDL_touch.h>typedefUint64SDL_FingerID;

See Also