DOKK / manpages / debian 10 / allegro4-doc / JOYSTICK_AXIS_INFO.3alleg4.en
JOYSTICK_AXIS_INFO(3alleg4) Allegro manual JOYSTICK_AXIS_INFO(3alleg4)

JOYSTICK_AXIS_INFO - Stores joystick axis information. Allegro game programming library.

#include <allegro.h>

typedef struct JOYSTICK_AXIS_INFO


int pos; - analogue axis position
int d1, d2; - digital axis position
char *name; - description of this axis

Read chapter "Joystick routines" for a description on how to obtain/use this structure.

joy(3alleg4)

version 4.4.2 Allegro