.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_joystick_button_name" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_joystick_button_name - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include const char *al_get_joystick_button_name(ALLEGRO_JOYSTICK *joy, int button) \f[R] .fi .SH DESCRIPTION .PP Return the name of the given button. If the button doesn\[cq]t exist, NULL is returned. Indices begin from 0. .SH SEE ALSO .PP al_get_joystick_stick_name(3), al_get_joystick_axis_name(3), al_get_joystick_num_buttons(3)