Create a new, empty event queue, returning a pointer to object if successful.
ALLEGRO_EVENT_QUEUE *al_create_event_queue( void )
Destroy the event queue specified.
void al_destroy_event_queue( ALLEGRO_EVENT_QUEUE * queue )
Register the event source with the event queue specified.
void al_register_event_source( ALLEGRO_EVENT_QUEUE * queue, ALLEGRO_EVENT_SOURCE * source )
Unregister an event source with an event queue.
void al_unregister_event_source( ALLEGRO_EVENT_QUEUE * queue, ALLEGRO_EVENT_SOURCE * source )
Return true if the event queue specified is currently empty.
bool al_event_queue_is_empty( ALLEGRO_EVENT_QUEUE * queue )
Take the next event packet out of the event queue specified, and copy the contents into RET_EVENT, returning true.
bool al_get_next_event( ALLEGRO_EVENT_QUEUE * queue, ALLEGRO_EVENT * ret_event )
Copy the contents of the next event packet in the event queue specified into RET_EVENT and return true.
bool al_peek_next_event( ALLEGRO_EVENT_QUEUE * queue, ALLEGRO_EVENT * ret_event )
Drop the next event packet from the queue.
void al_drop_next_event( ALLEGRO_EVENT_QUEUE * queue )
Drops all events, if any, from the queue.
void al_flush_event_queue( ALLEGRO_EVENT_QUEUE * queue )
Wait until the event queue specified is non-empty.
void al_wait_for_event( ALLEGRO_EVENT_QUEUE * queue, ALLEGRO_EVENT * ret_event )
Wait until the event queue specified is non-empty.
bool al_wait_for_event_timed( ALLEGRO_EVENT_QUEUE * queue, ALLEGRO_EVENT * ret_event, float secs )