kPrimaryMouseButton top-level constant

const kPrimaryMouseButton = 1

The bit of PointerEvent.buttons that corresponds to the primary mouse button.

The primary mouse button is typically the left button on the top of the mouse but can be reconfigured to be a different physical button.

Implementation

const int kPrimaryMouseButton = 0x01