Macro Trigger Option Using Long Press of Hot Key [Example]

Brilliant!

I've managed to incorporate it into my Single/Double Tap & Long Press macro. It's slightly snappier than my previous method of detecting double presses, but has one drawback that may or may not bother you. Two single taps, which occur outside of the double tap window, but during the period the macro is listening for a long press, will be seen as a long press. In other words, if you want to do single taps in relatively quick succession, this ain't the macro for you. Perhaps there's a way to improve it, but I can't think of one.

Edit: I fixed the above issue, added the ability to choose what type of presses it will detect for, and added a triple-tap option because... why not?

Multipress.kmmacros (53.7 KB)

The green actions will require attention when setting up:

Screenshot