SDL_FingerID.3type - Man Page

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

Header File

Defined in SDL3/SDL_touch.h

Synopsis

#include "SDL3/SDL.h"

typedef Uint64 SDL_FingerID;

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.

Availability

This datatype is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES