ALLEGRO_GAMEPAD_STICK(3)

NAME
ALLEGRO_GAMEPAD_STICK - Allegro 5 API

SYNOPSIS

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

DESCRIPTION

•   ALLEGRO_GAMEPAD_STICK_DPAD - D-pad stick, it has the ALLEGRO_JOYFLAG_DIGITAL set. It has two axes.

•   ALLEGRO_GAMEPAD_STICK_LEFT_THUMB - Left thumb stick. It has two axes.

•   ALLEGRO_GAMEPAD_STICK_RIGHT_THUMB - Right thumb stick. It has two axes.

•   ALLEGRO_GAMEPAD_STICK_LEFT_TRIGGER - Left trigger. It has one axis, ranging from 0 to 1.

•   ALLEGRO_GAMEPAD_STICK_RIGHT_TRIGGER - Right trigger. It has one axis, ranging from 0 to 1.

SINCE
5.2.11

SEE ALSO
al_set_joystick_mappings(3), ALLEGRO_JOYSTICK_TYPE(3)

    [Unstable API]: New API.