JOYSTICK_AXIS_INFO(3)

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

πŸ’– JOYSTICK_AXIS_INFO(3) πŸ’–

okay so bestie, this one lives in the Allegro manual β€” the Allegro game programming library, if you didn't know. It's giving "tiny struct, huge vibes" and I'm obsessed. πŸŽ€


✨ NAME ✨

JOYSTICK_AXIS_INFO β€” Stores joystick axis information. Allegro game programming library. πŸ•ΉοΈ


🌸 SYNOPSIS 🌸

#include <allegro.h>

typedef struct JOYSTICK_AXIS_INFO

πŸ’… DESCRIPTION πŸ’…

Here's the whole entire glow-up of this struct, no gatekeeping:

int pos;                         - analogue axis position
int d1, d2;                      - digital axis position
char *name;                      - description of this axis
  • int pos; β€” the analogue axis position, aka the smooth gliding one πŸ¦‹
  • int d1, d2; β€” the digital axis position, aka the clicky on/off besties ✨
  • char *name; β€” a lil description of this axis, so it can introduce itself 🫢

Read chapter "Joystick routines" for a description on how to obtain/use this structure. fr fr, go read it, it's literally right there and it has the whole lore. πŸ“–


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie!! 🌈 this icon of a manpage came to you from Allegro, version 4.4.3, and honestly? iconic. slay, periodt, go wiggle a joystick. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from