1al_get_num_joysticks(3)    Library Functions Manual    al_get_num_joysticks(3)
2
3
4

NAME

6       al_get_num_joysticks
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              int al_get_num_joysticks(void)
12

DESCRIPTION

14       Return  the number of joysticks currently on the system (or potentially
15       on the system).   This  number  can  change  after  al_reconfigure_joy‐
16       sticks(3) is called, in order to support hotplugging.
17
18       Returns 0 if there is no joystick driver installed.
19

SEE ALSO

21       al_get_joystick(3), al_get_joystick_active(3)
22
23
24
25Allegro reference manual                               al_get_num_joysticks(3)
Impressum