DOKK / manpages / debian 10 / allegro5-doc / al_get_mouse_event_source.3alleg5.en
al_get_mouse_event_source(3alleg5) al_get_mouse_event_source(3alleg5)

al_get_mouse_event_source - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_EVENT_SOURCE *al_get_mouse_event_source(void)
    

Retrieve the mouse event source. All [mouse events]ALLEGRO_EVENT_MOUSE_AXES(3alleg5) are generated by this event source.

Returns NULL if the mouse subsystem was not installed.

Allegro reference manual