al_get_joystick_name

const char *al_get_joystick_name(ALLEGRO_JOYSTICK *joy)
Introduced in 5.0.0

Return the name of the given joystick.

See also: al_get_joystick_stick_name, al_get_joystick_axis_name, al_get_joystick_button_name

Examples: ex_joystick_hotplugging