JOYSTICK_STICK_INFO (3) - Linux Manuals
JOYSTICK_STICK_INFO: Stores joystick stick information. Allegro game programming library.
NAME
JOYSTICK_STICK_INFO - Stores joystick stick information. Allegro game programming library.SYNOPSIS
#include <allegro.h>
typedef struct JOYSTICK_STICK_INFO
DESCRIPTION
int flags; - status flags for this input int num_axis; - how many axes do we have? (note the misspelling) JOYSTICK_AXIS_INFO axis[n]; - axis state information char *name; - description of this inputRead chapter "Joystick routines" for a description on how to obtain/use this structure.