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

al_get_joystick_event_source - Allegro 5 API

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

Returns the global joystick event source. All [joystick events]ALLEGRO_EVENT_JOYSTICK_AXIS(3alleg5) are generated by this event source.

Allegro reference manual