al_get_joystick_stick_name(1) Allegro 5 API

SYNOPSIS


#include <allegro5/allegro.h>
const char *al_get_joystick_stick_name(ALLEGRO_JOYSTICK *joy, int stick)

DESCRIPTION

Return the name of the given "stick". If the stick doesn't exist, NULL is returned.