al_get_joystick_num_axes - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

int al_get_joystick_num_axes(ALLEGRO_JOYSTICK *joy, int stick)

Description

Return the number of axes on the given “stick”. If the stick doesn’t exist, 0 is returned.

See Also

al_get_joystick_num_sticks(3)

Referenced By

al_get_joystick_axis_name(3), al_get_joystick_num_sticks(3), al_get_joystick_state(3).

Allegro reference manual