Simple intuitive Arduino library to read different events on a single button.
It is possible to read single, double and long press as well as a defined multi press, choosing how many press you want to detect.
You can install it directly from the Arduino library manager.