JOYSTICK_INFO(3alleg4)
๐ NAME ๐
okay so bestie, this is JOYSTICK_INFO(3alleg4) from the Allegro manual. It stores information about joysticks, and it's part of the Allegro game programming library. ๐ฎ๐โจ
๐ SYNOPSIS ๐
#include <allegro.h>
typedef struct JOYSTICK_INFO
๐ DESCRIPTION ๐
This struct is literally the joystick info hub, and here are all the fields you're gonna see, no cap:
int flags;โ status flags for this joystickint num_sticks;โ how many stick inputs?int num_buttons;โ how many buttons?JOYSTICK_STICK_INFO stick[n];โ stick state informationJOYSTICK_BUTTON_INFO button[n];โ button state information
Read chapter "Joystick routines" for a description on how to obtain/use this structure. ๐๐ซ
๐ฆ SEE ALSO ๐ฆ
Allegro manual, version 4.4.3 โ source/version: Allegro 4.4.3. Date? The original footer didn't list one, so I'm not inventing one, bestie. That's all she wrote. ๐ ๐ซถ
๐ฆ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 ยท Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 ยท Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 ยท Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 ยท Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 ยท Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 ยท Allegro-gift-ware
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms