JOYSTICK_AXIS_INFO man page

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

Synopsis

#include <allegro.h>

typedef struct JOYSTICK_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(3)

Info

version 4.4.2 Allegro Allegro manual