al_get_joystick_button_name3
Allegro 5 api
Usage
-
#include <allegro5/allegro.h> const char *al_get_joystick_button_name(ALLEGRO_JOYSTICK *joy, int button)
Overview
Return the name of the given button. If the button doesn’t exist, NULL is returned. Indices begin from 0.