buttonState property

int buttonState
final

The state of all buttons that are pressed such as a mouse or stylus button.

See Android's MotionEvent#getButtonState.

Implementation

final int buttonState;