kPrimaryMouseButton top-level constant

int const kPrimaryMouseButton

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.

See also:

  • kPrimaryButton, which has the same value but describes its cross-device concept.

Implementation

const int kPrimaryMouseButton = kPrimaryButton;