Provided by: allegro5-doc_18.104.22.168-1_all
al_register_event_source - Allegro 5 API
#include <allegro5/allegro.h> void al_register_event_source(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT_SOURCE *source)
Register the event source with the event queue specified. An event source may be registered with any number of event queues simultaneously, or none. Trying to register an event source with the same event queue more than once does nothing.