I couldn't find my initial example so re-created it here.
The first translator compares the incoming value of a pot to a high and low threshold and starts a continuous timer if outside of the threshold (center point +-20) and sets the timer speed at 500 ms. The value ga is either -1 (for down) or +1 (for up). The outgoing action does not fire if it is within the threshold (timer does not start).
The second translator just kills the timer if it is within threshold
The third translator is the timer that handle the mouse action takes the value of ga and multiplies by 10 for either +10 or -10 scroll wheel movement.
The output does not have to be a mouse wheel. It could actual send increment and decrement encoder values instead if you want to use it as a virtual CC encoder for output.
You will never run out of space because it will keep going as long it is left or right of the defined thresholds.
Enjoy!
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz
Attachments:
1583452871816_Virtual-Encoder-Mouse-Wheel-Example-2020-03-05.bmtp