DOUT Shifting (I`m stuck category)

Hello!

I`m currently working on DIY copy of Pioneer DDJ-T1;

As base for my app i use ain64_din128_dout128_v2c which is

very straightforward and easy to understand by newbie like me

with little or nonexistent programming skills.

Everything is working fine - buttons, pots, encs and leds.

http://discourse.midibox.org/t/topic/7946

works too for AINs and DINs, but problem arises with DOUT so called “shifting” i will try to explain.

Original DDJ-T1 (and many other controllers) is 4 deck controllers

with 2 control sets used for all 4 deck control.

Switching of controller focus is done by means of “DECK” buttons.

So when i press DECK button controller shifts all inputs to different MIDI values/channels whatever and allso

it switches all leds to display status af that other deck.

And whats interesting that thats done without Traktor sending any MIDI out to update DOUTs to reflect other deck LED`s.

For example if deck A has LED1 active and deck B has LED2 active then switching between deck`s would cause LED1 go off and

LED2 go on and vice versa.

Is there any directions or code example that will provide this functionality?

I hope someone will understand my taught and came up with ideas.

FYI it can be done by using modifiers in Traktor software. I discovered that when modifier changes state Traktor sends out midi update of all changend LEDs. And i suspect that Pioneers controller update its LEDs same way.