快速登录:  

Forum: Old versions

话题: Joystick Binding

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

tldr; Need help with VDJscript.
I currently I have a joystick controlling 2 decks but I want to be able to control 4 decks.

For the sake of clarity what is done on one side is almost mirrored on the other, and pretend that the D-pad is exactly like the buttons.

Right now I don't have the bumpers bounded to anything. The left half is bound to the left deck (1) and the and right half is bound to the right deck (2). The buttons bound to pause and stuff like that, and the joysticks are controlling the levels.

It would be simple to bind the left bumpers to set $l true, set $l false and add var $l ? : to the bound buttons, except that for the left eq_high I use the script toggle "$leh" & var "$leh" ? deck 1 eq_high 0.0 : deck 1 eq_high 0.5 and I don't know how to word that inside of VDJscript.

My attempts at it look something like
var $l ? toggle "$1eh" & var "$1eh" ? deck 1 eq_high 0.0 : deck 1 eq_high 0.5 : toggle "$3eh" & var "$3eh" ? deck 3 eq_high 0.0 : deck 3 eq_high 0.5
no error, but it doesn't work.

Anyone know how to help?
 

发表时间 Sun 21 Oct 12 @ 8:01 pm


(陈旧帖子或论坛版块会自动关闭)