1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
.TH al_get_joystick_button_name 3 "" "Allegro reference manual"
.SH NAME
.PP
al_get_joystick_button_name \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
const\ char\ *al_get_joystick_button_name(ALLEGRO_JOYSTICK\ *joy,\ int\ button)
\f[]
.fi
.SH DESCRIPTION
.PP
Return the name of the given button.
If the button doesn\[aq]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)
|