al_get_touch_input_state(3alleg5)

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

✨ al_get_touch_input_state ✨

ok so bestie, welcome to the allegro5 manual πŸ’– this one's short and sweet, and it lives in section 3alleg5 β€” you got this, fr fr.


🫢 NAME 🫢

al_get_touch_input_state β€” Allegro 5 API πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_get_touch_input_state(ALLEGRO_TOUCH_INPUT_STATE *ret_state)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function grabs the current touch input state. that's it, that's the job 😌

the touch info gets copied straight into the ALLEGRO_TOUCH_INPUT_STATE(3alleg5) that you hand over to this function β€” so you pass in your state struct and it gets filled up with the goods. no cap, that's the whole vibe. πŸŽ€


⭐ SINCE ⭐

5.1.0 β€” been here since then, iconic behavior honestly πŸ‘‘


lowkey a reminder: ret_state is a pointer to an ALLEGRO_TOUCH_INPUT_STATE, so don't forget to give it something real to point at, bestie 🫢

and that's the whole page, periodt πŸ’œ thanks for reading, you absolute main character 🌈 this was the Allegro reference manual, page al_get_touch_input_state(3alleg5) β€” go touch some grass, or better yet, some touch input βœ¨πŸ’…πŸŒΈ

πŸ“¦ where this page comes from