al_get_joystick_num_axes(3)

al_get_joystick_num_axes3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
int al_get_joystick_num_axes(ALLEGRO_JOYSTICK *joy, int stick)

Overview

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.