al_is_joystick_haptic(3alleg5)

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

🌸 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 true if the joystick has haptic capabilities πŸŽ€
  • Returns false if 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