.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_get_joystick_button_name" "3" "" "Allegro reference manual" "" .SH NAME al_get_joystick_button_name \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] const char *al_get_joystick_button_name(ALLEGRO_JOYSTICK *joy, int button) .EE .SH DESCRIPTION Return the name of the given button. If the button doesn\[cq]t exist, NULL is returned. Indices begin from 0. .SH SEE ALSO al_get_joystick_stick_name(3), al_get_joystick_axis_name(3), al_get_joystick_num_buttons(3)