AL_REGISTER_EVENT_SOURCE(3)

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

πŸ’– 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