Video Switcher using PS4 Controller

Hey, I am trying to make a ‘scroller’ video effect using my ps4 controller arrow keys. I have 2 values here. -1 to 1, 0 being nothing happening. I wish to add/subtract 1 based on key pressed so I can move forward/backward in the video switch chop. I tried a lot of things that I knew how to but none made the “(Logic)” that it made in my head. lol - Really looking forward to getting some help in figuring this out. upload://8bo21VzN3vs6kwceTQ4iqVY2tK.png

Appreciate this

Hi @JazibAli360,

A Count CHOP can be very helpful here where the first input is the trigger while the third input is the increment amount. For the trigger input use a Math CHOP and set the Channel Pre OP parameter to positive. Now everytime the value is not equals 0 the Count CHOP will be triggered.
For the increment value of the Count CHOP, just connect the operator with the Left-Right value directly to the Count CHOP’s third input.

The Count CHOP also allows for setting a Limit, allowing you to loop or clamp min/max values.

For more examples on how the Count CHOP can work, make sure to check the OPSnippets.

There are also more examples in out curriculum at learn.derivative.ca:

Hope this helps
cheers
Markus