ALLEGRO_GAMEPAD_BUTTON(3)

NAME
ALLEGRO_GAMEPAD_BUTTON - Allegro 5 API

SYNOPSIS

        #include <allegro5/allegro.h>
        typedef enum ALLEGRO_GAMEPAD_BUTTON

DESCRIPTION

•   ALLEGRO_GAMEPAD_BUTTON_A - A button

•   ALLEGRO_GAMEPAD_BUTTON_B - B button

•   ALLEGRO_GAMEPAD_BUTTON_X - X button

•   ALLEGRO_GAMEPAD_BUTTON_Y - Y button

•   ALLEGRO_GAMEPAD_BUTTON_LEFT_SHOULDER - left shoulder button

•   ALLEGRO_GAMEPAD_BUTTON_RIGHT_SHOULDER - right shoulder button

•   ALLEGRO_GAMEPAD_BUTTON_BACK - back button (also called select sometimes)

•   ALLEGRO_GAMEPAD_BUTTON_START - start button

•   ALLEGRO_GAMEPAD_BUTTON_GUIDE - guide/home button (this sometimes is intercepted on the OS level, so do not rely on being able to handle it)

•   ALLEGRO_GAMEPAD_BUTTON_LEFT_THUMB - button on the left thumb stick

•   ALLEGRO_GAMEPAD_BUTTON_RIGHT_THUMB - button on the right thumb stick

SINCE
5.2.11

SEE ALSO
al_set_joystick_mappings(3), ALLEGRO_JOYSTICK_TYPE(3)

    [Unstable API]: New API.