Connexion rapide:  

Forum: Old versions

Sujet shift mapping

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Hi, i would like to map the shift button as a ON/OFF meaning press to be on and press again to turn off.

Thanks!
 

Posté Tue 18 Feb 14 @ 11:53 am
locoDogPRO InfinityModeratorMember since 2013
Keyboard shift or controller? I don't think it matters because setting up a variable would be better.

I have this in my keyboard mapping

toggle "$My_varLoopRoll"

This toggles a variable called LoopRoll.

then for any other button that has a dual purpose dependant upon LoopRoll's state

var "$My_varLoopRoll" ? loop_roll 0.125 : loop 0.125

Is the variable called LoopRoll on ? if it is loop roll 1/8th : if not loop 1/8th

And just for my own information I display a small icon when the variable is on

Does this make sense to you?

Here's another example

toggle "$My_varNumlock" & zoom 0% ? zoom "default" : zoom 0%

var "$My_varNumlock" ? delete_cue 1 : deck 1 hot_cue 3


 

Posté Tue 18 Feb 14 @ 12:49 pm
thanks for answer
what i need to do is to map the shift button as a switch on off .. so when i press on it i can use the all the bass knobs as filters at once without having to press the shift button all the time.
thanks
 

Posté Tue 18 Feb 14 @ 1:57 pm
i use a Behringer ddm 4000.
 

Posté Tue 18 Feb 14 @ 1:59 pm
locoDogPRO InfinityModeratorMember since 2013
I can't tell you exactly, because I don't have my controller at the moment.

Go into mappers, press KeyLearn, press your controller shift button, put this text below in to the action text box,

toggle "$My_varControllerShift"

Save

That's the variable set up.

Now (I'm guessing here) press KeyLearn again, twiddle your 1st bass dial, put this text below into the action text box

var "$My_varControllerShift" ? deck 1 filter : deck 1 eq_low

Save

And do the same for deck 2,3 etc

It really is worth while understanding this part of VDJ script with a bit of thinking you can easily double the functions of buttons and dials
 

Posté Tue 18 Feb 14 @ 2:30 pm
I don't think it's a very good idea to do this with the DDM, unless you can disable the onboard eq and just use it as a controller
 

Posté Tue 18 Feb 14 @ 3:00 pm
that's what i do .. I use it as a semi midi device.
 

Posté Tue 18 Feb 14 @ 3:32 pm
i use to have this command : set '$shift' 1 while_pressed
but was always force to press on the button to have the shift activated, now i want to free my hand and use the same button as shift when i press it once it turns on and when I'm done i just press it to turn it off!
 

Posté Tue 18 Feb 14 @ 3:53 pm
Many thanks guys .. i found it.. it was just : toggle '$shift'
i got the use of my hand again!! :)
 

Posté Tue 18 Feb 14 @ 4:34 pm


(Les anciens sujets et forums sont automatiquement fermés)