Se Connecter:     


Forum: General Discussion

Sujet: Quick question Controller button double click

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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

Posté 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
 



(Les anciens sujets et forums sont automatiquement fermés)