A long, long time ago, we found ourselves talking about how models like the Ender 5 Pro were an amazing solution to have at ...
Arduino/ESP button library that provides callback functions to track single, double, triple and long clicks. It also takes care of debouncing.