Sign In:     


Forum: General Discussion

Topic: Quick question Controller button double click

This topic is old and might contain outdated or incorrect information.

can i double click a controller button to do lets say a clone deck??????
 

Posted Wed 03 Feb 16 @ 5:16 am
dont think this will work, please try to use shift & controllerbutton to send a additional action
 

yes you can, here's an example, the double press command can be a instant action, single press suits non timing critical commands
Quote :

Execute different action on click and different on double-click (for controllers)
var 'double' ? set 'double' 0 & repeat_stop 'myrep' & device_side 'left' ? deck left clone_deck right : deck right clone_deck left : set 'double' 1 & repeat_start 'myrep' 400ms 1 & load & set 'double' 0

The script uses a timer and waits for 400ms to see if a second click (push) comes.
If not it loads the track on deck, if Yes, it clones the deck to the opposite side.

Script added from Djdad
 



(Old topics and forums are automatically closed)