al_register_event_source(3alleg5)
β¨ NAME β¨
al_register_event_source β Allegro 5 API π
okay bestie, this is the al_register_event_source(3alleg5) page, so you already know we're in the Allegro 5 API manual. Let's get into it π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_register_event_source(ALLEGRO_EVENT_QUEUE *queue,
ALLEGRO_EVENT_SOURCE *source)
π DESCRIPTION π
So like, al_register_event_source does exactly what the name says: it registers the event source with the event queue you specified. You're introducing them. Making the connection. Matchmaker behavior, honestly π
An event source can be registered with any number of event queues at the same time, or with none at all. It's flexible like that, no cap.
And if you try to register an event source with the same event queue more than once? It does nothing. Literally nothing. The call just vibes there like π§ "I'm not gonna do anything about it."
π SEE ALSO π
kisses bestie π«Ά this page came from the Allegro reference manual, and the page title is al_register_event_source(3alleg5). There's no date printed on the footer I got, so I'm not inventing one β periodt π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms