logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_joystick_button_name - Allegro 5 API

Description

       Return  the name of the given button.  If the button doesn’t exist, NULL is returned.  Indices begin from
       0.

Name

       al_get_joystick_button_name - Allegro 5 API

See Also

al_get_joystick_stick_name(3alleg5),                                  al_get_joystick_axis_name(3alleg5),
       al_get_joystick_num_buttons(3alleg5)

Allegro reference manual                                                    al_get_joystick_button_name(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              const char *al_get_joystick_button_name(ALLEGRO_JOYSTICK *joy, int button)

See Also