Reference

JOYSTIC_AXIS_INFO(3alleg)

NAME

JOYSTIC_AXIS_INFO

SYNOPSIS

#include <allegro.h>

typedef struct JOYSTIC_AXIS_INFO

DESCRIPTION

   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.

SEE ALSO

joy(3alleg)