快速登录:  

Forum: VirtualDJ Skins

话题: Dual Use Button

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

ClayDJPRO InfinityMember since 2011
Hi, I would like to have a button trigger cue 1, and then when I press the shift key, I would like to have the same button trigger cue 5.
My current strings;
Button: var "$shift" ? goto_cue 5 & play : hot_cue 1
Shift button: toggle "$shift" while_pressed & wheel_mode while_pressed
The above strings do not work. Please let me know how can I accomplish this task.
Thanks in advance,
Clay
 

发表时间 Mon 28 Jul 14 @ 5:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
any chance the SHIFT_KEY is different than the KEY ?
E.g. there is HOTCUE1 and SHIFT_HOTCUE1 ? Which controller is that ?
 

发表时间 Mon 28 Jul 14 @ 6:11 pm
ClayDJPRO InfinityMember since 2011
Thanks for the response DJDad.
I am using the DJ Tech Dragon 2 controller. I would like the hot cue 1 thru 4 buttons to control hot cues 5 thru 8 when holding the shift button down. There are other buttons that currently also use the 'var "$shift" ?' command and they work fine.

 

发表时间 Mon 28 Jul 14 @ 6:52 pm
you want a hotcue 5 and you put goto_cue 5, look for the mistake

 

发表时间 Mon 28 Jul 14 @ 7:12 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
as far as i can see the Hotcues and the SHIFt_Hotcues buttons are defined separately already for the Dragon controller.
So if you press the SHIFT button and then one of the Hotcues 1 to 4, it wont execute the second part of your action, as the DEL_HOTCUE_x key will be controlled then instead of the HOTCUE_x
The DEL_HOTCUE_x buttons are assigned to delete the Hotcues, so if you map themto control Hotcues 5 to 8,you will not be able to delete them.
Your only chance is to use a different key to toggle a variable instead of the Hardware SHIFT key (which offers an aditional layer with different keys)
so if you manage to find a spare key on your controller,you can map it as ..
set 'myvar' 1 while_pressed
and then the HOTCUEs as ..
var 'myvar' ? hot_cue 5 : hot_cue 1
and the DEL_HOTCUE_x as ..
var 'myvar' ? delete_cue 5 : delete_cue 1
 

发表时间 Mon 28 Jul 14 @ 9:05 pm


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