SDL_FingerID(3type)

πŸ’– NAME πŸ’–

okay so bestie, this page is all about SDL_FingerID, and it lives in the SDL3 DATATYPES manual. it's a unique ID for a single finger on a touch device. periodt. 🫢

🌸 SYNOPSIS 🌸

#include <SDL3/SDL_touch.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.

The way that this value may represent an index, a pointer, or some other unique ID, depending on the platform? iconic but also keep up bestie. ✨

The value 0 is an invalid ID. so don't be out here treating it like a real one, fr fr. πŸ’€

✨ AVAILABILITY ✨

This datatype is available since SDL 3.2.0. so if you're on that version or later, slay. 🌈


and that's the whole vibe. this page came from the Simple Directmedia Layer crew, SDL 3.4.18 edition, and it's the SDL_FingerID(3type) page. the footer doesn't give a date, so I'm not inventing one bestie πŸ’…

πŸ“¦ where this page comes from