Event system and events
These functions are declared in the main Allegro header file:
#include <allegro5/allegro.h>
- ALLEGRO_EVENT
- ALLEGRO_USER_EVENT
- ALLEGRO_EVENT_QUEUE
- ALLEGRO_EVENT_SOURCE
- ALLEGRO_EVENT_TYPE
- ALLEGRO_GET_EVENT_TYPE
- ALLEGRO_EVENT_TYPE_IS_USER
- al_create_event_queue
- al_init_user_event_source
- al_destroy_event_queue
- al_destroy_user_event_source
- al_drop_next_event
- al_emit_user_event
- al_is_event_queue_empty
- al_flush_event_queue
- al_get_event_source_data
- al_get_next_event
- al_peek_next_event
- al_register_event_source
- al_set_event_source_data
- al_unref_user_event
- al_unregister_event_source
- al_wait_for_event
- al_wait_for_event_timed
- al_wait_for_event_until