num_joysticks(3) Allegro manual num_joysticks(3)NAMEnum_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 ALSOinstall_joystick(3), joy(3), exjoy(3)Allegro version 4.4.2 num_joysticks(3)