M5Stack and its buttons

I wonder if it’s possible to completely filter these short pulses with pcnt filtering, did you try that?