ALLEGRO_TOUCH_INPUT_STATE(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ALLEGRO_TOUCH_INPUT_STATE πŸ’–

okay bestie, so this is a page from the Allegro reference manual (section 3alleg5, if you're keeping track) and we're about to talk about the ALLEGRO_TOUCH_INPUT_STATE β€” aka Allegro 5 API content. periodt. let's go 🫢


✨ SYNOPSIS ✨

like, here's the vibe upfront, no cap:

#include <allegro5/allegro.h>

typedef struct ALLEGRO_TOUCH_INPUT_STATE ALLEGRO_TOUCH_INPUT_STATE;

🌸 DESCRIPTION 🌸

so basically, ALLEGRO_TOUCH_INPUT_STATE is a struct, and it's giving snapshot energy β€” like a lil frozen-in-time pic of every single simultaneous touch happening at one particular instant. all of them. at once. iconic. πŸ’…

πŸ‘‘ Public fields (read only)

  • touches β€” an array of ALLEGRO_TOUCH_STATE(3alleg5). that's it, that's the field. it's literally the whole squad of touch states, lined up in an array. πŸŽ€
heads up babes: these fields are read only β€” you look, you don't touch (ironic for a touch struct, i know 😭).

⭐ SINCE ⭐

5.1.0 β€” she's been here since 5.1.0, a real OG. πŸ‘‘


and that's the whole page, bestie!! short and sweet, unlike my last situationship. mwah πŸ’œ this was ALLEGRO_TOUCH_INPUT_STATE(3alleg5) from the Allegro reference manual, version 3alleg5 β€” go forth and snapshot those touches, i believe in u πŸ¦‹βœ¨πŸ’–

πŸ“¦ where this page comes from