al_get_mouse_event_source man page

al_get_mouse_event_source — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

ALLEGRO_EVENT_SOURCE *al_get_mouse_event_source(void)

Description

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

Returns NULL if the mouse subsystem was not installed.

Info

Allegro reference manual