num_joysticks(3) - Linux man page
Name
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),
poll_joystick(3)