The text a8cda9138dee, as Debian 9 (Stretch) shipped it.
Allegro 5 API
al_get_joystick_num_buttons(3alleg5) on Linux now