DOKK / manpages / debian 13 / libsdl3-doc / SDL_FingerID.3type.en
SDL_FingerID(3type) SDL3 DATATYPES SDL_FingerID(3type)

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

Defined in SDL3/SDL_touch.h

#include "SDL3/SDL.h"
typedef Uint64 SDL_FingerID;

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.

This datatype is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer