Tap vs hold event

When holding down the mouse, I receive the hold event as well as a tap event. I want my hold event to trigger action A and my tap event to trigger action B, but currently both A & B get triggered when doing a hold.

Is there a way to ignore a tap after a hold (i.e., determine that a hold event preceded a tap event)?



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!