al_get_touch_input_state(3alleg5)
β¨ 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_stateis a pointer to anALLEGRO_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
- 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