1JOYSTICK_STICK_INFO(3) Allegro manual JOYSTICK_STICK_INFO(3)
2
3
4
6 JOYSTICK_STICK_INFO - Stores joystick stick information. Allegro game
7 programming library.
8
10 #include <allegro.h>
11
12
13 typedef struct JOYSTICK_STICK_INFO
14
16 int flags; - status flags for this
17 input
18 int num_axis; - how many axes do we
19 have? (note the misspelling)
20 JOYSTICK_AXIS_INFO axis[n]; - axis state information
21 char *name; - description of this
22 input
23
24 Read chapter "Joystick routines" for a description on how to obtain/use
25 this structure.
26
27
29 joy(3)
30
31
32
33Allegro version 4.2.3 JOYSTICK_STICK_INFO(3)