Multi-pad or SHIFT single-/double-/triple-tap & hold interaction support script with user functions, intended to be easily included into your own scripts.
The pad manager delays all pad or shift-button reactions by a small time amout to be able to analyse the interactions for single/double/triple taps and optional holds.
After the analyse time has passed, the user callback events OnPad or OnShift are called with parmeters set.
It is possible to exclude specific pads or all pads or the shift button from the analysis. In this sample the last pads of each row react directly, calling OnPad without any analysis delay.
If needed, the main timer can be managed by your script.
All user defined settings are done via variables in the OnLoad, no need to modify anything inside the Pad Manager script part of the source.
Originally based on
Single Tap, Double Tap, and Tap-and-Hold by Bryan Appel
The blue ‘source code’ button to the right links to a in depth description containing the source code and instructions on how to add the snippet to own scripts