JOYSTICK_INFO - Man Page

Stores information about joysticks. Allegro game programming library.

Synopsis

#include <allegro.h>

typedef struct JOYSTICK_INFO

Description

   int flags;                       - status flags for this
                                      joystick
   int num_sticks;                  - how many stick inputs?
   int num_buttons;                 - how many buttons?
   JOYSTICK_STICK_INFO stick[n];    - stick state information
   JOYSTICK_BUTTON_INFO button[n];  - button state information

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

See Also

joy(3)

Info

version 4.4.3 Allegro manual