al_is_joystick_haptic(3alleg5)
πΈ NAME πΈ
al_is_joystick_haptic β it's literally the Allegro 5 API, bestie π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_is_joystick_haptic(ALLEGRO_JOYSTICK *dev)
π DESCRIPTION π
okay so, the way this works: you hand it a joystick, and it tells you whether that joystick has haptic capabilities. That's the whole vibe.
- Returns
trueif the joystick has haptic capabilities π - Returns
falseif it does not π
no cap, that's it. iykyk.
π¦ SINCE π¦
5.1.8 β
[Unstable API]: Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users. π
and that's the whole page, bestie β go forth and vibe check your joysticks responsibly. π
Allegro reference manual Β· al_is_joystick_haptic(3alleg5) β mwah, thanks for reading, ily π«Άβ¨
π¦ 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