al_get_joystick_num_sticks man page

al_get_joystick_num_sticks — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

int al_get_joystick_num_sticks(ALLEGRO_JOYSTICK *joy)

Description

Return the number of "sticks" on the given joystick. A stick has one or more axes.

See Also

al_get_joystick_num_axes(3), al_get_joystick_num_buttons(3)

Referenced By

al_get_joystick_num_axes(3), al_get_joystick_num_buttons(3), al_get_joystick_stick_name(3).

Allegro reference manual