.\" Generated by the Allegro makedoc utility .TH JOYSTICK_INFO 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME JOYSTICK_INFO \- Stores information about joysticks. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B typedef struct JOYSTICK_INFO .SH DESCRIPTION .nf 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 .fi Read chapter "Joystick routines" for a description on how to obtain/use this structure. .SH SEE ALSO .BR joy (3alleg4)