kPrimaryButton top-level constant

const kPrimaryButton = 1

The bit of PointerEvent.buttons that corresponds to a cross-device behavior of "primary operation".

More specifially, it includes:

See also:

  • kSecondaryButton, which describes a cross-device behavior of "secondary operation".

Implementation

const int kPrimaryButton = 0x01