Can you have a mapping for holding and double-click on the same button at the same time?
For instance on a LOAD button it could be:
holding ? unload : doubleclick ? clone_from_deck : load
... but that doesn't work (only the holding part works)
I assume it's because holding and doubleclick are conflicting
For instance on a LOAD button it could be:
holding ? unload : doubleclick ? clone_from_deck : load
... but that doesn't work (only the holding part works)
I assume it's because holding and doubleclick are conflicting
Inviato Tue 11 Jan 22 @ 9:46 am
Correct.
Since both actions (holding and doubleclick) have to time the respective events they do conflict.
However if it's absolutely necessary to use both, then you could implement your own holding/doubleclick solution (by using variables) and have both working.
However it would be a somewhat complex script. Mostly because the "single" / "normal" click has to be delayed until the script determines if you are holding (or not) or doubleclicking (or not) the button.
I had created such a script at some point in the past (can't remember for which case) and while it worked, it was far from a "clean" solution.
Since both actions (holding and doubleclick) have to time the respective events they do conflict.
However if it's absolutely necessary to use both, then you could implement your own holding/doubleclick solution (by using variables) and have both working.
However it would be a somewhat complex script. Mostly because the "single" / "normal" click has to be delayed until the script determines if you are holding (or not) or doubleclicking (or not) the button.
I had created such a script at some point in the past (can't remember for which case) and while it worked, it was far from a "clean" solution.
Inviato Tue 11 Jan 22 @ 10:58 am
This thread also discusses the topic.. with some work-arounds:
http://www.virtualdj.com/forums/230503/General_Discussion/doubleclick___holding.html
http://www.virtualdj.com/forums/230503/General_Discussion/doubleclick___holding.html
Inviato Tue 11 Jan 22 @ 6:15 pm