How to set up a trigger that triggers one or two actions

Here's another. The main benefit is that actions trigger as soon as a long press is detected, rather than having to wait until after the trigger is released.

Uses the subroutine found under Hotkeys & USB Device Keys at the top of this post: