buttons property

int buttons
final

Bit field using the *Button constants (primaryMouseButton, secondaryStylusButton, 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;