al_get_hap...pabilities(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– NAME πŸ’–

  • al_get_haptic_capabilities β€” Allegro 5 API

okay bestie, welcome to al_get_hap...pabilities(3) from the Library Functions Manual. the way this title is giving β€œmy keyboard gave up halfway through” 😭 but we’re here, we’re slaying, and we’re talking haptic capabilities. ✨

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

int al_get_haptic_capabilities(ALLEGRO_HAPTIC *hap)

🌸 DESCRIPTION 🌸

So al_get_haptic_capabilities returns an integer with values from ALLEGRO_HAPTIC_CONSTANTS(3) or’ed together. 🫢

When one of those values is set, it indicates that the haptic device supports the given feature. That’s the whole plot, and honestly? iconic. periodt. πŸ’…

πŸ¦‹ SINCE πŸ¦‹

Available since 5.1.8, no cap. πŸŽ€

[Unstable API]: ngl, maybe this gets simplified at some point, because support for all of the exposed features across all of the platforms is limited. Awaiting feedback from users. πŸ‘€

kisses from the Allegro reference manual πŸ’– β€” al_get_hap...pabilities(3), no date on this footer, just pure Allegro energy. 🫢

πŸ“¦ 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