DOKK / manpages / debian 12 / allegro5-doc / al_get_joystick_name.3alleg5.en
al_get_joystick_name(3alleg5) al_get_joystick_name(3alleg5)

al_get_joystick_name - Allegro 5 API

#include <allegro5/allegro.h>
const char *al_get_joystick_name(ALLEGRO_JOYSTICK *joy)
    

Return the name of the given joystick.

al_get_joystick_stick_name(3alleg5), al_get_joystick_axis_name(3alleg5), al_get_joystick_button_name(3alleg5)

Allegro reference manual