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.
LeftRight
Identifies the right mouse button.
RightMiddle
Identifies the middle mouse button.
MiddleX1
Identifies the X 1 mouse button.
X1X2
Identifies the X 2 mouse button.
X2Button6
Identifies the button 6 mouse button.
Button6Button7
Identifies the button 7 mouse button.
Button7Button8
Identifies the button 8 mouse button.
Button8Last
Identifies the last mouse button.
Last