SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

SDL_FingerID

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

Header File

Defined in <SDL3/SDL_touch.h>

Syntax

typedef Uint64 SDL_FingerID;

Remarks

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.

Version

This datatype is available since SDL 3.1.3.


CategoryAPI, CategoryAPIDatatype, CategoryTouch


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.