Sponsor:

Your company here, and a link to your site. Click to find out more.

al_register_event_source - Man Page

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.

See Also

al_unregister_event_source(3), ALLEGRO_EVENT_SOURCE(3)

Referenced By

al_create_event_queue(3), al_enable_menu_event_source(3), al_get_default_menu_event_source(3), al_get_touch_input_event_source(3), al_get_touch_input_mouse_emulation_event_source(3), al_is_event_source_registered(3), al_unregister_event_source(3).

Allegro reference manual