al_get_joystick_axis_name - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

const char *al_get_joystick_axis_name(ALLEGRO_JOYSTICK *joy, int stick, int axis)

Description

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

See Also

al_get_joystick_stick_name(3), al_get_joystick_num_axes(3)

Referenced By

al_get_joystick_button_name(3), al_get_joystick_name(3), al_get_joystick_stick_name(3).

Allegro reference manual