JOYSTICK_BUTTON_INFO − Stores joystick button information. Allegro game programming library.
#include <allegro.h>
typedef struct JOYSTICK_BUTTON_INFO
int b; - boolean on/off flag
char *name; - description of this
button
Read chapter "Joystick routines" for a description on how to obtain/use this structure.
joy(3alleg4)