Atlas Engine
API Referenceatlas

SonyControllerButton

Button identifiers using Sony controller labels.

Module: atlas

Button identifiers using Sony controller labels.

Declaration

export enum SonyControllerButton {
        /**
         * Identifies the Sony cross button.
         */
        Cross = 0,
        /**
         * Identifies the Sony circle button.
         */
        Circle,
        /**
         * Identifies the Sony square button.
         */
        Square,
        /**
         * Identifies the Sony triangle button.
         */
        Triangle,
        /**
         * Identifies the Sony l 1 button.
         */
        L1,
        /**
         * Identifies the Sony r 1 button.
         */
        R1,
        /**
         * Identifies the Sony l 2 button.
         */
        L2,
        /**
         * Identifies the Sony r 2 button.
         */
        R2,
        /**
         * Identifies the Sony share button.
         */
        Share,
        /**
         * Identifies the Sony options button.
         */
        Options,
        /**
         * Identifies the Sony left stick button.
         */
        LeftStick,
        /**
         * Identifies the Sony right stick button.
         */
        RightStick,
        /**
         * Identifies the Sony d pad up button.
         */
        DPadUp,
        /**
         * Identifies the Sony d pad right button.
         */
        DPadRight,
        /**
         * Identifies the Sony d pad down button.
         */
        DPadDown,
        /**
         * Identifies the Sony d pad left button.
         */
        DPadLeft,
        /**
         * Identifies the Sony button count button.
         */
        ButtonCount,
    }

Values

Cross

Identifies the Sony cross button.

Cross = 0

Circle

Identifies the Sony circle button.

Circle

Square

Identifies the Sony square button.

Square

Triangle

Identifies the Sony triangle button.

Triangle

L1

Identifies the Sony l 1 button.

L1

R1

Identifies the Sony r 1 button.

R1

L2

Identifies the Sony l 2 button.

L2

R2

Identifies the Sony r 2 button.

R2

Share

Identifies the Sony share button.

Share

Options

Identifies the Sony options button.

Options

LeftStick

Identifies the Sony left stick button.

LeftStick

RightStick

Identifies the Sony right stick button.

RightStick

DPadUp

Identifies the Sony d pad up button.

DPadUp

DPadRight

Identifies the Sony d pad right button.

DPadRight

DPadDown

Identifies the Sony d pad down button.

DPadDown

DPadLeft

Identifies the Sony d pad left button.

DPadLeft

ButtonCount

Identifies the Sony button count button.

ButtonCount

On this page