MCP: maybe handle multiple MCUs better; add support for modifier keys; rearrange...
[ardour.git] / libs / surfaces / mackie / surface.cc
index f0178807d125c3237754b177693978d2359fd2a0..9ec426179d36281bf6856b9ca07ecdded2d18290 100644 (file)
@@ -179,8 +179,10 @@ Surface::init_strips ()
                uint32_t unit_index = i % _unit_strips;
                
                snprintf (name, sizeof (name), "strip_%d", unit_index+1);
+
+               cerr << "Register strip " << i << " unit index " << unit_index << endl;
                
-               Strip* strip = new Strip (*this, name, i, unit_index, mackie_strip_controls);
+               Strip* strip = new Strip (*this, name, i/8, i, unit_index, mackie_strip_controls);
                
                groups[name] = strip;
                strips[i] = strip;