ALLEGRO_GAMEPAD_STICK(3)

πŸ“¦
version 5.2.11.3 Β· 2 versions
, in arch rolling

ALLEGRO_GAMEPAD_STICK πŸ’…

okay so welcome to the Library Functions Manual, bestie β€” this is the page for the ALLEGRO_GAMEPAD_STICK enum from the Allegro 5 API. It's giving β€œwhich stick on the gamepad are we talking about?” energy, and it's honestly iconic.

✨ NAME ✨

ALLEGRO_GAMEPAD_STICK β€” the Allegro 5 API enum for gamepad sticks. no cap.

🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

typedef enum ALLEGRO_GAMEPAD_STICK

πŸŽ€ DESCRIPTION πŸŽ€

okay so the enum has these values, and every one is a different stick situation:

  • ALLEGRO_GAMEPAD_STICK_DPAD β€” the D-pad stick. It has ALLEGRO_JOYFLAG_DIGITAL set, and it has two axes. yes, both of those details matter πŸ’…
  • ALLEGRO_GAMEPAD_STICK_LEFT_THUMB β€” the left thumb stick. two axes, periodt.
  • ALLEGRO_GAMEPAD_STICK_RIGHT_THUMB β€” the right thumb stick. also two axes, slay.
  • ALLEGRO_GAMEPAD_STICK_LEFT_TRIGGER β€” the left trigger. one axis, ranging from 0 to 1. that's the range, bestie.
  • ALLEGRO_GAMEPAD_STICK_RIGHT_TRIGGER β€” the right trigger. one axis, ranging from 0 to 1. same range vibe.

⭐ SINCE ⭐

5.2.11 β€” so this has been around since then, iykyk.

πŸ¦‹ SEE ALSO πŸ¦‹

[Unstable API]: New API. 🫢 β€” that's the note, bestie; it's literally marked as a new unstable API.

cute sign-off: this came from the Allegro reference manual, page ALLEGRO_GAMEPAD_STICK(3) β€” source vibes only, and no separate date is printed on this footer, so I'm not inventing one πŸ’–βœ¨

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms