arximboldi / mixco

Mixco is a framework for creating hardware controller scripts for the amazing Mixxx DJ software
http://sinusoid.es/mixco
GNU General Public License v3.0
29 stars 6 forks source link

Tabbed Behaviour #10

Open kellertobias opened 5 years ago

kellertobias commented 5 years ago

Hey there,

i am trying to create a mapping for the novation twitch in advanced mode. However I am having some trouble connecting the pads and the touch strip.

I don't understand how I can make the "tabbed" behaviour for the pads, where depending on the the selected mode the buttons behave differently (and are lit up diffrerntly)

and the touch strip, where I need to send midi control messages (and light up the button) when I press a button.

arximboldi commented 5 years ago

Sorry again for the late repy.

The different behaviors for the buttons can be set with with:

    button.when(condition, ...)

Now, you need to set a condition there that means "Tab X is selected". There are different ways to do that, depending on how you want to select such "tabs". How do you select the tabs, do you have one button per tab?