Constant for MotionEvent.ActionMasked: A pressed gesture has started, the motion contains the initial starting location.
This is also a good time to check the button state to distinguish secondary and tertiary button clicks and handle them appropriately. Use MotionEvent.ButtonState to retrieve the button state.