kSecondaryStylusButton top-level constant

int const kSecondaryStylusButton

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

The secondary stylus button is typically on the end of the stylus farthest from the tip but can be reconfigured to be a different physical button.

See also:

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


const int kSecondaryStylusButton = kTertiaryButton;