kPrimaryStylusButton top-level constant

const kPrimaryStylusButton = 0x02

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

The primary stylus button is typically the top of the stylus and near the tip but can be reconfigured to be a different physical button.

Implementation

const int kPrimaryStylusButton = 0x02