logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

JOYSTICK_INFO - Stores information about joysticks. Allegro game programming library.

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.

Name

       JOYSTICK_INFO - Stores information about joysticks. Allegro game programming library.

See Also

joy(3alleg4)

Allegro                                           version 4.4.3                           JOYSTICK_INFO(3alleg4)

Synopsis

#include<allegro.h>typedefstructJOYSTICK_INFO

See Also