AL_REGISTER_EVENT_SOURCE(3)
π al_register_event_source(3) π
okay so bestie, welcome to the Library Functions Manual β this is the Allegro 5 API page for al_register_event_source, and it's literally gonna be your new fave for hooking event sources up to queues. β¨
π NAME π
al_register_event_source β Allegro 5 API
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_register_event_source(ALLEGRO_EVENT_QUEUE *queue,
ALLEGRO_EVENT_SOURCE *source)
π¦ DESCRIPTION π¦
Register the event source with the event queue specified. That's the assignment, bestie. π
An event source may be registered with any number of event queues simultaneously, or none β yes, zero is allowed, she's flexible like that. π«Ά
Trying to register an event source with the same event queue more than once does nothing. literally nothing. no cap. π
π SEE ALSO π
go give these a read next, iykyk:
signed off by the Allegro reference manual π (date? not listed, bestie β that's the whole footer vibe, periodt β¨) π
π¦ 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