al_is_touch_input_haptic(3alleg5)
β¨ NAME β¨
al_is_touch_input_haptic β it's literally the Allegro 5 API, bestie, and this one function is here to spill the tea on whether your touch input device has haptic vibes π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
bool al_is_touch_input_haptic(ALLEGRO_TOUCH_INPUT *dev)
π DESCRIPTION π
Okay so, like, you hand it a touch input device and it tells you the truth, no cap:
- Returns
trueif the touch input device has haptic capabilities π«Ά - Returns
falseif not π
That's it. That's the whole function. She's simple, she's iconic, she's giving "yes or no bestie, pick one." π
β SINCE β
5.1.8 β yeah she's been around a minute π
π¦ [Unstable API]: Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users.
So basically the Allegro girlies are like "hmm, this could maybe be simplified π because not every platform is fully supporting all the exposed features" and they're waiting on y'all to send feedback. So if you have thoughts, the group chat is open fr fr π
And that's a wrap, my love β this page came to you straight out of the Allegro reference manual, filed under al_is_touch_input_haptic(3alleg5). Go forth and vibe check your touch inputs, queen ππ
π¦ 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