buttons property

int buttons
final

Bit field using the *Button constants such as kPrimaryMouseButton, kSecondaryStylusButton, etc.

For example, if this has the value 6 and the kind is PointerDeviceKind.invertedStylus, then this indicates an upside-down stylus with both its primary and secondary buttons pressed.

Implementation

final int buttons