ALLEGRO_TOUCH...AX_TOUCH_COUNT(3alleg5)
β¨ NAME β¨
ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT β okay bestie, this is the Allegro 5 API, and this little icon is literally the touch input vibe check π
π SYNOPSIS π
#include <allegro5/allegro.h>
#define ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT 16
Like, that's the whole thing. One macro. Slay. β¨
π DESCRIPTION π
So <pink>ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT is the maximum amount of simultaneous touches that can be detected. That's it, that's the lore π«Ά
It's giving "how many lil fingers can be on the screen at the same time before Allegro is like ok bestie that's enough" π And the answer, per the #define, is 16. Sixteen simultaneous touches. No cap, fr fr. πΈ
π SINCE π
5.1.0 β she's been here since 5.1.0, an OG, a legend, main character energy from day one π
Heads up bestie: this is a compile-time constant, so if you're out here writing code that assumes some other number of touches, the vibe check is gonna fail. Use the macro, don't hardcode, iykyk π§
That's the whole page, babe β a tiny but iconic entry from the Allegro reference manual (the 3alleg5 manual, for all my Allegro 5 girlies). Go forth and track those sixteen touches, you absolute legend π β¨ π¦
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms