num_joysticks man page

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.

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).

Explore man page connections for num_joysticks(3).

Allegro version 4.4.2 Allegro manual