mackie: semi-working Sends subview mode
[ardour.git] / libs / surfaces / mackie / mackie_control_protocol.cc
index f7f796aeb8b817f98698f6ad9a0367eb69277fc9..8ac54e64460dc1fa02ce9860cd9e1418085a7727 100644 (file)
@@ -1670,6 +1670,7 @@ MackieControlProtocol::set_subview_mode (SubViewMode sm, boost::shared_ptr<Route
                                pot_mode_globals ();
                                break;
                        case MackieControlProtocol::EQ:
+                               update_global_button (Button::Send, off);
                                update_global_button (Button::Eq, on);
                                update_global_button (Button::Dyn, off);
                                update_global_button (Button::AudioInstruments, off); /* faking up Dyn */
@@ -1678,6 +1679,7 @@ MackieControlProtocol::set_subview_mode (SubViewMode sm, boost::shared_ptr<Route
                                update_global_button (Button::Pan, off);
                                break;
                        case MackieControlProtocol::Dynamics:
+                               update_global_button (Button::Send, off);
                                update_global_button (Button::Eq, off);
                                update_global_button (Button::Dyn, on);
                                update_global_button (Button::AudioInstruments, on); /* faking up Dyn */
@@ -1685,6 +1687,15 @@ MackieControlProtocol::set_subview_mode (SubViewMode sm, boost::shared_ptr<Route
                                update_global_button (Button::Send, off);
                                update_global_button (Button::Pan, off);
                                break;
+                       case MackieControlProtocol::Sends:
+                               update_global_button (Button::Send, on);
+                               update_global_button (Button::Eq, off);
+                               update_global_button (Button::Dyn, off);
+                               update_global_button (Button::AudioInstruments, on); /* faking up Dyn */
+                               update_global_button (Button::Trim, off);
+                               update_global_button (Button::Send, off);
+                               update_global_button (Button::Pan, off);
+                               break;
                        }
                }
        }
@@ -1769,11 +1780,6 @@ MackieControlProtocol::pot_mode_globals ()
                update_global_button (Button::Send, off);
                update_global_button (Button::Pan, off);
                break;
-       case Send:
-               update_global_button (Button::Track, off);
-               update_global_button (Button::Send, on);
-               update_global_button (Button::Pan, off);
-               break;
        case Pan:
                update_global_button (Button::Track, off);
                update_global_button (Button::Send, off);