UNPKG

@awayjs/scene

Version:
32 lines (26 loc) 528 B
export const enum MouseButtons { /** * No button or un-initialized */ NO_BUTTON = 0, /** * Primary Button (usually the left button) */ PRIMARY_BUTTON = 1, /** * Secondary button (usually the right button) */ SECONDARY_BUTTON = 2, /** * Auxiliary button (usually the mouse wheel button or middle button) */ AUXILLARY_BUTTON = 4, /** * 4th button (typically the "Browser Back" button) */ FOURTH_BUTTON = 8, /** * 5th button (typically the "Browser Forward" button) */ FIFTH_BUTTON = 16, }