al_is_display_haptic(3alleg5)

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

✨ al_is_display_haptic ✨

okay bestie, welcome to the Allegro 5 API β€” this lil page is al_is_display_haptic, from the allegro5 manual section (3alleg5, iykyk). it's short, it's sweet, it's giving "one job and it does it" πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

bool al_is_display_haptic(ALLEGRO_DISPLAY *dev)

πŸ’– DESCRIPTION πŸ’–

so like. you hand it a display, and it tells you whether that display can do haptic stuff. returns true if the display has haptic capabilities, false if not. periodt.

and what do we mean by haptic? it's mainly about force feedback β€” the kind that literally shakes a hand held device. think a phone πŸ“± or a tablet. yes, your game can make the whole thing go brrr and honestly? iconic.


⭐ SINCE ⭐

5.1.8 β€” she's been here since 5.1.8, a real one 🫢

[Unstable API]: Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users.
no cap, this one's flagged unstable 😭 the note says it could maybe be simplified since all the exposed features aren't supported across every platform, and they're waiting on feedback from users. so like β€” go use it, go tell them how it went, you're literally the main character of the feedback loop 🧚

okay that's the whole page, that's it, that's the vibe 🌈 thanks for coming to my ted talk. this was pulled from the Allegro reference manual, page al_is_display_haptic(3alleg5) β€” mwah, bye πŸ’œ

πŸ“¦ where this page comes from