Atlas Engine
API Referenceatlas

NintendoControllerButton

Button identifiers using Nintendo controller labels.

Module: atlas

Button identifiers using Nintendo controller labels.

Declaration

export enum NintendoControllerButton {
        /**
         * Identifies the Nintendo b button.
         */
        B = 0,
        /**
         * Identifies the Nintendo a button.
         */
        A,
        /**
         * Identifies the Nintendo Y button.
         */
        Y,
        /**
         * Identifies the Nintendo X button.
         */
        X,
        /**
         * Identifies the Nintendo l button.
         */
        L,
        /**
         * Identifies the Nintendo r button.
         */
        R,
        /**
         * Identifies the Nintendo zl button.
         */
        ZL,
        /**
         * Identifies the Nintendo zr button.
         */
        ZR,
        /**
         * Identifies the Nintendo minus button.
         */
        Minus,
        /**
         * Identifies the Nintendo plus button.
         */
        Plus,
        /**
         * Identifies the Nintendo left stick button.
         */
        LeftStick,
        /**
         * Identifies the Nintendo right stick button.
         */
        RightStick,
        /**
         * Identifies the Nintendo d pad up button.
         */
        DPadUp,
        /**
         * Identifies the Nintendo d pad right button.
         */
        DPadRight,
        /**
         * Identifies the Nintendo d pad down button.
         */
        DPadDown,
        /**
         * Identifies the Nintendo d pad left button.
         */
        DPadLeft,
        /**
         * Identifies the Nintendo button count button.
         */
        ButtonCount,
    }

Values

B

Identifies the Nintendo b button.

B = 0

A

Identifies the Nintendo a button.

A

Y

Identifies the Nintendo Y button.

Y

X

Identifies the Nintendo X button.

X

L

Identifies the Nintendo l button.

L

R

Identifies the Nintendo r button.

R

ZL

Identifies the Nintendo zl button.

ZL

ZR

Identifies the Nintendo zr button.

ZR

Minus

Identifies the Nintendo minus button.

Minus

Plus

Identifies the Nintendo plus button.

Plus

LeftStick

Identifies the Nintendo left stick button.

LeftStick

RightStick

Identifies the Nintendo right stick button.

RightStick

DPadUp

Identifies the Nintendo d pad up button.

DPadUp

DPadRight

Identifies the Nintendo d pad right button.

DPadRight

DPadDown

Identifies the Nintendo d pad down button.

DPadDown

DPadLeft

Identifies the Nintendo d pad left button.

DPadLeft

ButtonCount

Identifies the Nintendo button count button.

ButtonCount

On this page