Allegro 5 api
#include <allegro5/allegro.h> ALLEGRO_EVENT_QUEUE *al_create_event_queue(void)
Create a new, empty event queue, returning a pointer to object if successful. Returns NULL on error.
al_register_event_source(3alleg5), al_destroy_event_queue(3alleg5), ALLEGRO_EVENT_QUEUE(3alleg5)