Is there any method to disable the HOLD return or for that matter Both the HOLD and IDLE returns from the library.
Maybe even the Pressed and Released signals as I know a couple of places in my code where that would be beneficial.. anyway...
I know I can extend the hold time to a number that would make it relatively improbable that HOLD would be initiated.
The Reason I ask is that I am doing a simple button press (event) and of course every time I press the button it gets pressed three instances (Pressed, Released, and Idle) so the event is called upon 3 times.. I have worked around this with a counter to ignore the State(s) that I don't want.. However if for some reason the button is held down for the allotted HOLD time then there is a fourth event called and of course that screws up the counter and the number of events called and when they are called.
I might be able to do a state table for the single button but haven't quite figured that out for a single button in a larger matrix. I have other situations where a state table May not work as wanted and Disabling or ignoring a output would work better.
Anyway any help would be appreciated.
Thank you
Brion Sohn