The concern is that over time, multi-vendor support and the freedom to experiment could be compromised in favor of Qualcomm’s ...
Arduino/ESP button library that provides callback functions to track single, double, triple and long clicks. It also takes care of debouncing.