table of contents
other versions
- bookworm 2:5.2.8.0+dfsg-1
- testing 2:5.2.9.1+dfsg-1
- unstable 2:5.2.9.1+dfsg-1.1
- experimental 2:5.2.9.1+dfsg-1.1~exp2
al_get_joystick_button_name(3alleg5) | al_get_joystick_button_name(3alleg5) |
NAME¶
al_get_joystick_button_name - Allegro 5 API
SYNOPSIS¶
-
#include <allegro5/allegro.h> const char *al_get_joystick_button_name(ALLEGRO_JOYSTICK *joy, int button)
DESCRIPTION¶
Return the name of the given button. If the button doesn’t exist, NULL is returned. Indices begin from 0.
SEE ALSO¶
al_get_joystick_stick_name(3alleg5), al_get_joystick_axis_name(3alleg5), al_get_joystick_num_buttons(3alleg5)
Allegro reference manual |