Sarrova-Q
2017-01-05 12:58:09
Hello.
I need to toggle a momentary pad on a controller.
I have this code:
and velocity for my incoming controller pad messages is set to PP (to make them ignore the velocity sensitivity)
which works perfectly except when using these toggle buttons, it seems they react to each other:
If one toggle is engaged, I need to press the other pad twice instead of once to make it work.
Any ideas why that happens?
I need to toggle a momentary pad on a controller.
I have this code:
Code: Select all
pp=0
if ga==0 then Goto "ToggleOn"
if ga==1 then Goto "ToggleOff"
Label "ToggleOn"
ga=1
xx=127
exit rules, execute Outgoing Action
Label "ToggleOff"
ga=0
xx=0
exit rules, execute Outgoing Action
which works perfectly except when using these toggle buttons, it seems they react to each other:
If one toggle is engaged, I need to press the other pad twice instead of once to make it work.
Any ideas why that happens?