al_is_touch_input_haptic(3alleg5)

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

✨ 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 true if the touch input device has haptic capabilities 🫢
  • Returns false if 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