bonsai
Bonsai is a Finite State Machine structured as a tree. It has been designed to trigger commands when successive events and/or a precise context is accepted.
It has been developped for Sxmo, to handle multiple successive click on the different hardware buttons.