AL_IS_HAPTIC_EFFECT_PLAYING(3)
πΈ 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