JOYSTICK_INFO(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ NAME ✨

JOYSTICK_INFO β€” stores information about joysticks. It's part of the Allegro game programming library. Welcome to the Allegro manual, bestie, this is the JOYSTICK_INFO(3) page and it's lowkey iconic πŸ’–

🌸 SYNOPSIS 🌸

#include <allegro.h>

typedef struct JOYSTICK_INFO

πŸŽ€ DESCRIPTION πŸŽ€

okay so this struct is literally the main character for joystick data. Here's what's inside:

  • 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

And for the full tea on how to obtain/use this structure, read the chapter "Joystick routines" β€” it's giving instructions, fr fr πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


that's the whole page, bestie! this came from the Allegro manual, version 4.4.3, and the footer didn't drop a date, so that's all the info we got. periodt πŸ’–βœ¨

πŸ“¦ where this page comes from