SDL_TouchID(3type)
β¨ NAME β¨
SDL_TouchID β bestie, it's literally just a unique ID for a touch device π
π¦ SYNOPSIS π¦
#include <SDL3/SDL_touch.h>
typedef Uint64 SDL_TouchID;
πΈ DESCRIPTION πΈ
okay so picture this: every touch device gets its own lil name tag, and that name tag is an SDL_TouchID. It stays valid for the whole time the device is connected to the system, and here's the iconic part β it is never reused for the lifetime of the application. like ever. no recycling, no take-backs, no "oops someone else has your number now." each ID is a one-time main character π
and the value 0? that's an invalid ID. zero is not a real touch device, it's the void, it's nothing, do not pass go π
π AVAILABILITY π
this datatype has been serving looks since SDL 3.2.0 β¨
mwah, that's the whole page, no cap π«Ά this lil datatype ships with Simple Directmedia Layer, SDL 3.4.18, and yes it's giving SDL_TouchID(3type) energy from the SDL3 DATATYPES collection. go forth and slay your touch IDs, bestie π
π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms