kPrimaryButton top-level constant
The bit of PointerEvent.buttons that corresponds to a cross-device behavior of "primary operation".
More specifically, it includes:
- kTouchContact: The pointer contacts the touch screen.
- kStylusContact: The stylus contacts the screen.
- kPrimaryMouseButton: The primary mouse button.
See also:
- kSecondaryButton, which describes a cross-device behavior of "secondary operation".
- kTertiaryButton, which describes a cross-device behavior of "tertiary operation".
Implementation
const int kPrimaryButton = 0x01;