kStylusContact top-level constant

const kStylusContact = kPrimaryButton

The bit of PointerEvent.buttons that corresponds to when a stylus contacting the screen.

See also:

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

Implementation

const int kStylusContact = kPrimaryButton