Hello,
I have DJ Control Steel, and in VD7 I configured this for the shift key of the controller :
set "%prsh" while_pressed
And this for the play button :
var "%prsh" ? clone_deck : play_pause
But in VDJ8 It seems play_pause doesn't work after I press the shift key.
Thank you in advance.
Cedric
I have DJ Control Steel, and in VD7 I configured this for the shift key of the controller :
set "%prsh" while_pressed
And this for the play button :
var "%prsh" ? clone_deck : play_pause
But in VDJ8 It seems play_pause doesn't work after I press the shift key.
Thank you in advance.
Cedric
Inviato Wed 09 Jul 14 @ 10:35 am
Try "$prsh" instead.
I don't know if the % prefix is working with V8 but I can see no reason why it would need to be local to a deck, so $ will make it global
Maybe (if you really need it to be local, and I can't think why) Try just "prsh"
I don't know if the % prefix is working with V8 but I can see no reason why it would need to be local to a deck, so $ will make it global
Maybe (if you really need it to be local, and I can't think why) Try just "prsh"
Inviato Wed 09 Jul 14 @ 11:10 am
Thank you for reply.
I also try with $ but it doesn't work anymore.
Maybe issue come from while_pressed keyword ?
I will try with an other button who set variable to 0.
Is there a way to have access vdj8 word page ( http://www.virtualdj.com/wiki/VDJscript_verbs_v8.html ) ?
I also try with $ but it doesn't work anymore.
Maybe issue come from while_pressed keyword ?
I will try with an other button who set variable to 0.
Is there a way to have access vdj8 word page ( http://www.virtualdj.com/wiki/VDJscript_verbs_v8.html ) ?
Inviato Wed 09 Jul 14 @ 2:32 pm
It's Ok with an other button who set $prsh to 0.
So, in fine, it's while_pressed not work like in VDJ7. In VDJ7 when I leave Shift button, $prsh return to 0. In VDJ8, it stay to 1.
(I would like to rename the topic "while_pressed does not work on vdj8").
So, in fine, it's while_pressed not work like in VDJ7. In VDJ7 when I leave Shift button, $prsh return to 0. In VDJ8, it stay to 1.
(I would like to rename the topic "while_pressed does not work on vdj8").
Inviato Wed 09 Jul 14 @ 2:37 pm
The SHIFT button of the Steel is actually a toggle button not a normal one.
so it doesnt send 7F when down and 00 when up. It sends 7F first time you press it and 00 the next, 7f the 3rd one etc.
You cant use while_pressed for a toggle button... Its a state button.
Try to use ... toggle 'varname' but i have the feeling that its also a hardware button as well.. so it may not work as expected.
so it doesnt send 7F when down and 00 when up. It sends 7F first time you press it and 00 the next, 7f the 3rd one etc.
You cant use while_pressed for a toggle button... Its a state button.
Try to use ... toggle 'varname' but i have the feeling that its also a hardware button as well.. so it may not work as expected.
Inviato Wed 09 Jul 14 @ 3:26 pm
Ok thank you for your reply. It's ok with toggle, I now understand why it doesn't work with "while_pressed".
So now I don't understand why this worked with vdj7...
So now I don't understand why this worked with vdj7...
Inviato Wed 09 Jul 14 @ 3:44 pm
Most of the old Hercules devices were hardcoded in version 7 (using some internal API,similar to HID protocol). In version 8, all devices have been mapped as MIDI or HId (depending on the protocol those offer).
Specifically, the Steel is mapped as MIDI, as we couldnt find a way to control the Leds with HID, and in MIDI mode, this is the way the SHIFT button behaves.
Specifically, the Steel is mapped as MIDI, as we couldnt find a way to control the Leds with HID, and in MIDI mode, this is the way the SHIFT button behaves.
Inviato Wed 09 Jul 14 @ 3:46 pm