Hello
I use MicroPython on M5StickCPlus or M5AtomS3.
The goal to use the callbacks to manage Clicks and DoubleClicks :
BtnA.setCallback(type=BtnA.CB_TYPE.WAS_CLICKED, cb=btnA_wasClicked_event)
BtnA.setCallback(type=BtnA.CB_TYPE.WAS_DOUBLECLICKED, cb=btnA_wasDoubleclicked_event)
I want the DoubleClick event to be triggerer WITHOUT the Clicked event to be fired (even twice !)
It makes this :
Simple Click : btnA_wasClicked_event
Double Click : btnA_wasClicked_event, btnA_wasClicked_event, btnA_wasDoubleclicked_event
Bad :(
I used before managing DoubleClick myself with microtimes... but do not want anymore :)