Question about verb pad_pushed
The Manual states:
Does not work as I would expect. And this is bit hard to explain, but let me try.
1) If I create a new pad page, call it "Test Color" and
2) set all pad actions to "nothing"
3) then (with auto-dim unchecked) set Pad 1's Color to something like: "pad_pushed 1 ? color 'cyan' : color 'red' "
No color is appled to the pad when Pad one is pushed (no color is applied even when not pushed). DOES NOT WORK
4) then if, one sets Pad 3's Color to: "pad_pushed 1 ? color 'yellow' : color 'green' "
then pushing Pad 1 WILL change Pad 3's color. WORKS
and if one changes Pad 1's Color to "pad_pushed 3 ? color 'cyan' : color 'red' "
then pushing Pad 3 WILL change Pad 1's color. WORKS
But cannot get say Pad 1 to change color when pushing Pad 1. (step 3, above)
Summary: seems pad_pushed does NOT work on it own pad, but seems to work when used from any other pad.
(is there some interference when used on same pad?)
Would like to have the Pad change color when the pad is pushed.
(and yes one can query the buttons action to change the pads color, or to set a different variable for each pads color indicator)
The Manual states:
Quote :
pad_pushed returns true if the pad is pushed (useful for custom color actions not using auto-dim)
Does not work as I would expect. And this is bit hard to explain, but let me try.
1) If I create a new pad page, call it "Test Color" and
2) set all pad actions to "nothing"
3) then (with auto-dim unchecked) set Pad 1's Color to something like: "pad_pushed 1 ? color 'cyan' : color 'red' "
No color is appled to the pad when Pad one is pushed (no color is applied even when not pushed). DOES NOT WORK
4) then if, one sets Pad 3's Color to: "pad_pushed 1 ? color 'yellow' : color 'green' "
then pushing Pad 1 WILL change Pad 3's color. WORKS
and if one changes Pad 1's Color to "pad_pushed 3 ? color 'cyan' : color 'red' "
then pushing Pad 3 WILL change Pad 1's color. WORKS
But cannot get say Pad 1 to change color when pushing Pad 1. (step 3, above)
Summary: seems pad_pushed does NOT work on it own pad, but seems to work when used from any other pad.
(is there some interference when used on same pad?)
Would like to have the Pad change color when the pad is pushed.
(and yes one can query the buttons action to change the pads color, or to set a different variable for each pads color indicator)
发表时间 Wed 31 Aug 22 @ 6:32 pm
There is indeed a check where a pad cannot access itself to prevent endless recursion, but in the case of pad_pushed that would indeed work fine. Will fix.
发表时间 Wed 31 Aug 22 @ 6:54 pm
Awesome ... And Thanks
Virtual DJ is the Best DJ Software.. Ever ! ! !
Virtual DJ is the Best DJ Software.. Ever ! ! !
发表时间 Wed 31 Aug 22 @ 6:58 pm