Provided by: allegro5-doc_5.0.10-2_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.