DOKK / manpages / debian 11 / allegro4-doc / JOYSTICK_BUTTON_INFO.3alleg4.en
JOYSTICK_BUTTON_INFO(3alleg4) Allegro manual JOYSTICK_BUTTON_INFO(3alleg4)

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)

version 4.4.3 Allegro