登录:     


Forum: General Discussion

Topic: Mapping buttons as shifts

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

hey im new to DJ'ing and im just starting to learn so I recently purchased a controller with hot cue 1,2,& 3 and shift/delete button that if pressed it will delete either hot cue 1,2,& 3. The controller also has a button that isnt mapped, i want to make this button act as a "shift" so that hot cue 1,2,& 3 also can become hot cue 4,5,& 6. How do i map that button do that, or is it even possible?
 

发表时间 Tue 13 Dec 11 @ 7:44 pm
 

Thanks for that, but i already looked at that and i still couldnt figure it out..
I wanted to make a button on my controller and a shift.
 

just paste this on the shift button
toggle 'cue_shift'

and use this on anything you want shifted
var 'cue_shift' 1 ? action if shifted : action if normal

eg
var 'cue_shift' 1 ? hot_cue 4 : hot_cue 1

use this on the led
var 'cue_shift' 1 ? on : off
 

Thanks alot man but it didnt work.
Well it did but It ended up deleting the shift button to delete them.
Theres a couple buttons involved in this...

Delete = shift
button#1= var "shift" ? delete_cue 1 : hot_cue 1
button#2=var "shift" ? delete_cue 2 : hot_cue 2
button#3=var "shift" ? delete_cue 3 : hot_cue 3

and theres a blank button that i want to map to be a shift for the hot cues, but when i enter the codes that you gave me it cancels out the delete button. is there a way to work around that?
Again thanks alot for the help.
 

that's because we are using different variable name's.. The one I used was "cue_shift" the one you used was "shift" it is important that they are the same. just choose one and edit a necessary.

The one I used is because you said you wanted to shift the cues, so I made a toggle switch that will change if the shift is on or off on different presses so you don't need to hold the shift button to access cues 4 - 6,

I would usually have a different shift button that activates only while pressed for example.

dedicated shift button
set 'shift' while_pressed

a button that when shifted will toggle the cue shift just for example the loop in button
var 'shift' ? toggle 'cue_shift' : loop_in

hot_cue 1
var 'cue_shift' 1 ? var 'shift' ? delete_cue 4 : hot_cue 4 : var 'shift' ? delete_cue 1 : hot_cue 1

hot_cue 2
var 'cue_shift' 1 ? var 'shift' ? delete_cue 5 : hot_cue 5 : var 'shift' ? delete_cue 2 : hot_cue 2

loop in LED
var 'cue_shift' 1 ? on : loop ? blink : off

hot_cue 1 LED
var 'cue_shift' 1 ? hot_cue 4 ? on : hot_cue 1 ? on : off

hot_cue 2 LED
var 'cue_shift' 1 ? hot_cue 5 ? on : hot_cue 2 ? on : off

I left cue 3 out for you to fill in so you get a feel for how it works..
 

I don't understand what you mean.
The button layouts i posted in the last message are the default ones.
So when i put the codes you gave me for the extra button it kills the delete
button so that i cant delete the cues with the controller.
 

Thanks alot for the help, much appreiciated.
 



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