AL_IS_HAPTIC_EFFECT_PLAYING(3)

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

🌸 NAME 🌸

okay so bestie, welcome to the Library Functions Manual β€” this page is al_is_haptic_effect_playing, and it’s part of the Allegro 5 API. It’s giving β€œtiny yes/no haptic vibe check” energy πŸ’…

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

bool al_is_haptic_effect_playing(ALLEGRO_HAPTIC_EFFECT_ID *id)

πŸ’– DESCRIPTION πŸ’–

This one is literally a vibe check for your haptics: it returns true when the haptic effect is currently playing. It returns false if the effect has been stopped, if it has already finished playing, or if it has not been played yet. Simple? Slay. ✨

The play_id must be a valid ALLEGRO_HAPTIC_EFFECT_ID(3) that you got from al_upload_haptic_effect(3), al_upload_and_play_haptic_effect(3), or al_rumble_haptic(3). No random IDs, bestie β€” valid only, periodt. 🫢

πŸŽ€ 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. 😭

mwah πŸ’– β€” source: Allegro reference manual; version: 5.1.8; page: al_is_hapt...ect_playing(3); date: not listed on this page, so I’m not inventing one, bestie πŸ¦‹

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