diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-27 22:54:05 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-27 22:54:23 +0100 |
commit | 1de584961a746090583a4c97251f25924d6e03ad (patch) | |
tree | 6cc66baec95fde2dbf91d7c1a02f26026a149142 /libs/surfaces/mackie/mcp_buttons.cc | |
parent | 5ec21347a9595a88d7d1e935a5e4a271bdfb7933 (diff) |
NO-OP; Backport changes from Mixbus branch
Diffstat (limited to 'libs/surfaces/mackie/mcp_buttons.cc')
-rw-r--r-- | libs/surfaces/mackie/mcp_buttons.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 5f3d2766c8..3fbc846111 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -934,6 +934,9 @@ MackieControlProtocol::miditracks_release (Mackie::Button&) Mackie::LedState MackieControlProtocol::inputs_press (Mackie::Button&) { +#ifdef MIXBUS + set_view_mode (Mixer); //in Mixbus, this is the same as Global View (avoid dead buttons) +#endif return none; } Mackie::LedState @@ -955,6 +958,9 @@ MackieControlProtocol::audiotracks_release (Mackie::Button&) Mackie::LedState MackieControlProtocol::audioinstruments_press (Mackie::Button& b) { +#ifdef MIXBUS + set_view_mode (MidiTracks); //in Mixbus, we do the same thing as MIDI Tracks ( aviod dead buttons ) +#endif return none; } |