al_is_haptic_capable(3)
π al_is_haptic_capable(3) π
okay bestie, welcome to the Library Functions Manual β this page is the Allegro 5 API's haptic vibe check, and it's literally asking: does this haptic device support the thing? π¦
πΈ NAME πΈ
al_is_haptic_capable β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_is_haptic_capable(ALLEGRO_HAPTIC * hap, int query) {
π DESCRIPTION π
So here's the tea: al_is_haptic_capable returns true if the haptic device supports the feature indicated by the query parameter, and false if the feature is not supported. No cap. π«Ά
The query parameter must be one of the values of ALLEGRO_HAPTIC_CONSTANTS(3) β that's the menu, bestie, pick from it. β¨
π SINCE π
5.1.9
[Unstable API]: Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users.
π₯ SEE ALSO π₯
xoxo, from the Allegro reference manual π β no date printed on this footer, just the manual name and the al_is_haptic_capable(3) title doing its main character thing. π§
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms