al_register_event_source(1) 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. 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.