1JOYSTICK_INFO(3)                Allegro manual                JOYSTICK_INFO(3)
2
3
4

NAME

6       JOYSTICK_INFO  -  Stores information about joysticks. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       typedef struct JOYSTICK_INFO
14

DESCRIPTION

16          int flags;                       - status flags for this
17                                             joystick
18          int num_sticks;                  - how many stick inputs?
19          int num_buttons;                 - how many buttons?
20          JOYSTICK_STICK_INFO stick[n];    - stick state information
21          JOYSTICK_BUTTON_INFO button[n];  - button state information
22
23       Read chapter "Joystick routines" for a description on how to obtain/use
24       this structure.
25
26

SEE ALSO

28       joy(3)
29
30
31
32Allegro                          version 4.2.2                JOYSTICK_INFO(3)
Impressum