Skip to main content

Enumeration: MouseBindings

Mouse This enum enumerates the different buttons returned by .buttons on the mouse event. These values are used when setting a tool active in a tool group.

See also: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons

Enumeration Members

Auxiliary

Auxiliary: 4

usually mouse wheel button

Defined in

tools/src/enums/ToolBindings.ts:14


Fifth_Button

Fifth_Button: 16

usually "Browser Forward" button

Defined in

tools/src/enums/ToolBindings.ts:21


Fourth_Button

Fourth_Button: 8

usually "Browser Back" button

Defined in

tools/src/enums/ToolBindings.ts:19


Primary

Primary: 1

usually the left button

Defined in

tools/src/enums/ToolBindings.ts:9


Primary_And_Auxiliary

Primary_And_Auxiliary: 5

Defined in

tools/src/enums/ToolBindings.ts:15


Primary_And_Secondary

Primary_And_Secondary: 3

Defined in

tools/src/enums/ToolBindings.ts:12


Primary_And_Secondary_And_Auxiliary

Primary_And_Secondary_And_Auxiliary: 7

Defined in

tools/src/enums/ToolBindings.ts:17


Secondary

Secondary: 2

usually the right button

Defined in

tools/src/enums/ToolBindings.ts:11


Secondary_And_Auxiliary

Secondary_And_Auxiliary: 6

Defined in

tools/src/enums/ToolBindings.ts:16


Wheel

Wheel: 524288

The wheel binding selects for the wheel rotation, and does not have separate down/up but only rotation

Defined in

tools/src/enums/ToolBindings.ts:27


Wheel_Primary

Wheel_Primary: 524289

Wheel rotation plus primary

Defined in

tools/src/enums/ToolBindings.ts:29