Of the top of my head I would probably use the press hold module, a toggle, 2 and's and a ramp. The hold would trigger the toggle and the 2 and's. One output of the toggle would go to one and, and the other to the other and. The outputs of the 2 and's would drive the ramp.