Provided by: allegro4-doc_4.4.2-13_all
num_joysticks - Global variable saying how many joysticks there are. Allegro game programming library.
#include <allegro.h> extern int num_joysticks;
Global variable containing the number of active joystick devices. The current drivers support a maximum of eight controllers.
install_joystick(3alleg4), joy(3alleg4), exjoy(3alleg4)