num_joysticks man page

num_joysticks — Global variable saying how many joysticks there are. Allegro game programming library.

Synopsis

#include <allegro.h>

extern int num_joysticks;

Description

Global variable containing the number of active joystick devices. The current drivers support a maximum of eight controllers.

See Also

install_joystick(3), joy(3), exjoy(3)

Referenced By

calibrate_joystick(3), calibrate_joystick_name(3), exjoy(3), install_joystick(3), joy(3), poll_joystick(3).

version 4.4.2 Allegro Allegro manual