table of contents
SDL_FingerID(3type) | SDL3 DATATYPES | SDL_FingerID(3type) |
NAME¶
SDL_FingerID - 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.
SDL 3.2.0 | Simple Directmedia Layer |