Atlas Engine
API Referenceatlasatlas/input

MouseButton

Mouse button identifiers used by input polling and trigger bindings.

Module: atlas/input

Mouse button identifiers used by input polling and trigger bindings.

Declaration

export enum MouseButton {
        /**
         * Identifies the left mouse button.
         */
        Left,
        /**
         * Identifies the right mouse button.
         */
        Right,
        /**
         * Identifies the middle mouse button.
         */
        Middle,
        /**
         * Identifies the X 1 mouse button.
         */
        X1,
        /**
         * Identifies the X 2 mouse button.
         */
        X2,
        /**
         * Identifies the button 6 mouse button.
         */
        Button6,
        /**
         * Identifies the button 7 mouse button.
         */
        Button7,
        /**
         * Identifies the button 8 mouse button.
         */
        Button8,
        /**
         * Identifies the last mouse button.
         */
        Last,
    }

Values

Left

Identifies the left mouse button.

Left

Identifies the right mouse button.

Right

Middle

Identifies the middle mouse button.

Middle

X1

Identifies the X 1 mouse button.

X1

X2

Identifies the X 2 mouse button.

X2

Button6

Identifies the button 6 mouse button.

Button6

Button7

Identifies the button 7 mouse button.

Button7

Button8

Identifies the button 8 mouse button.

Button8

Last

Identifies the last mouse button.

Last

On this page