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\[aq]t exist, NULL is returned. Indices begin from 0.

RELATED TO al_get_joystick_axis_name…

al_get_joystick_stick_name(3alleg5), al_get_joystick_num_axes(3alleg5)