.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_register_event_source" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_register_event_source - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_register_event_source(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT_SOURCE *source) \f[R] .fi .SH DESCRIPTION .PP 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. .SH SEE ALSO .PP al_unregister_event_source(3alleg5), ALLEGRO_EVENT_SOURCE(3alleg5)