ALLEGRO_GAMEPAD_BUTTON(3)

๐Ÿ“ฆ
version 5.2.11.3 ยท 2 versions
, in arch rolling

okay bestie, welcome to ALLEGRO_GAMEPAD_BUTTON(3) straight out of the Library Functions Manual ๐Ÿ’– this is the whole gamepad-button enum situation and we are gonna get you fluent, no cap โœจ

๐ŸŒธ NAME ๐ŸŒธ

ALLEGRO_GAMEPAD_BUTTON โ€” Allegro 5 API ๐ŸŽฎ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

#include <allegro5/allegro.h>

typedef enum ALLEGRO_GAMEPAD_BUTTON

โœจ DESCRIPTION โœจ

okay so this enum is basically the group chat of gamepad buttons, and every member has a name, so let's meet them ๐Ÿ’…

  • ALLEGRO_GAMEPAD_BUTTON_A โ€” the A button ๐Ÿ…ฐ๏ธ
  • ALLEGRO_GAMEPAD_BUTTON_B โ€” the B button ๐Ÿ…ฑ๏ธ
  • ALLEGRO_GAMEPAD_BUTTON_X โ€” the X button โŒ
  • ALLEGRO_GAMEPAD_BUTTON_Y โ€” the Y button ๐Ÿ’›
  • ALLEGRO_GAMEPAD_BUTTON_LEFT_SHOULDER โ€” the left shoulder button ๐Ÿซถ
  • ALLEGRO_GAMEPAD_BUTTON_RIGHT_SHOULDER โ€” the right shoulder button ๐Ÿซถ
  • ALLEGRO_GAMEPAD_BUTTON_BACK โ€” the back button, also called select sometimes ๐Ÿ‘€
  • ALLEGRO_GAMEPAD_BUTTON_START โ€” the start button โญ
  • ALLEGRO_GAMEPAD_BUTTON_GUIDE โ€” the guide/home button, and heads up bestie: this sometimes is intercepted on the OS level, so do not rely on being able to handle it ๐Ÿ˜ญ
  • ALLEGRO_GAMEPAD_BUTTON_LEFT_THUMB โ€” the button on the left thumb stick ๐Ÿ‘‘
  • ALLEGRO_GAMEPAD_BUTTON_RIGHT_THUMB โ€” the button on the right thumb stick ๐Ÿ‘‘

๐ŸŽ€ SINCE ๐ŸŽ€

5.2.11 โ€” been iconic since then, periodt โœจ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

[Unstable API]: New API. ๐Ÿšจ like, it's new, bestie โ€” treat it accordingly ๐Ÿ’€

and that's the whole vibe from the Allegro reference manual โ€” ALLEGRO_GAMEPAD_BUTTON(3) signing off ๐Ÿ’–โœจ๐Ÿฆ‹

๐Ÿ“ฆ 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