I have a Wacom Epad. Initially I subscribe to onPenData event on my class constructor and I unsubscribe from it on device disconnection.
When user does multiples clicks on the Wacom Epad screen, it fires the onPenData event to which I am subscribed.
private void onPenData(wgssSTU.IPenData penData) // Process incoming pen data
{
// Do some stuff
}
So what I am trying to do is to implement some kind of mechanism to avoid onPenData to be executed on repeated clicks.
How can I do this?