summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorLen Ovens <len@ovenwerks.net>2015-09-20 20:09:42 -0700
committerRobin Gareus <robin@gareus.org>2015-09-21 10:04:06 +0200
commitb1424dab79624db73045122c9816ad870ee0c969 (patch)
tree78401f2bf5d28c731c1f22400d264691f1ab8323 /libs
parent47976ed4faa525f892d0575c9751cf46838d4053 (diff)
Vpot assign buttons don't do anything, don't light LEDs either.
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaces/mackie/mcp_buttons.cc25
1 files changed, 15 insertions, 10 deletions
diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc
index b406c6fa42..ede1819d91 100644
--- a/libs/surfaces/mackie/mcp_buttons.cc
+++ b/libs/surfaces/mackie/mcp_buttons.cc
@@ -645,7 +645,7 @@ MackieControlProtocol::pan_press (Button &)
LedState
MackieControlProtocol::pan_release (Button &)
{
- return off;
+ return none;
}
LedState
MackieControlProtocol::plugin_press (Button &)
@@ -655,13 +655,14 @@ MackieControlProtocol::plugin_press (Button &)
LedState
MackieControlProtocol::plugin_release (Button &)
{
- return off;
+ return none;
}
LedState
MackieControlProtocol::eq_press (Button &)
{
- set_view_mode (EQ);
- return on;
+ //set_view_mode (EQ);
+ // not implemented yet, turn off (see comments for send button)
+ return off;
}
LedState
MackieControlProtocol::eq_release (Button &)
@@ -671,8 +672,9 @@ MackieControlProtocol::eq_release (Button &)
LedState
MackieControlProtocol::dyn_press (Button &)
{
- set_view_mode (Dynamics);
- return on;
+ //set_view_mode (Dynamics);
+ // same as send
+ return off;
}
LedState
MackieControlProtocol::dyn_release (Button &)
@@ -810,7 +812,7 @@ Mackie::LedState
MackieControlProtocol::track_press (Mackie::Button&)
{
- return none;
+ return off;
}
Mackie::LedState
MackieControlProtocol::track_release (Mackie::Button&)
@@ -821,9 +823,12 @@ Mackie::LedState
MackieControlProtocol::send_press (Mackie::Button&)
{
// code moved here from "sends_press"
- set_view_mode (Sends);
- return on;
-// return none;
+ //set_view_mode (Sends);
+ // Led state for vpot assignment should be radio button-ish
+ // Pressing any one should turn the rest off.
+ // but this is not implemented yet so leave off
+ //return on;
+ return off;
}
Mackie::LedState
MackieControlProtocol::send_release (Mackie::Button&)