From 47976ed4faa525f892d0575c9751cf46838d4053 Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Sun, 20 Sep 2015 18:26:16 -0700 Subject: [PATCH] Make Mackie control surface LEDs for modifier keys only light while pressed. (fixes #6601) --- libs/surfaces/mackie/mcp_buttons.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 7b45b382e3..b406c6fa42 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -53,7 +53,7 @@ LedState MackieControlProtocol::shift_release (Button &) { _modifier_state &= ~MODIFIER_SHIFT; - return on; + return off; } LedState MackieControlProtocol::option_press (Button &) @@ -65,7 +65,7 @@ LedState MackieControlProtocol::option_release (Button &) { _modifier_state &= ~MODIFIER_OPTION; - return on; + return off; } LedState MackieControlProtocol::control_press (Button &) @@ -79,7 +79,7 @@ MackieControlProtocol::control_release (Button &) { _modifier_state &= ~MODIFIER_CONTROL; DEBUG_TRACE (DEBUG::MackieControl, string_compose ("CONTROL Release: modifier state now set to %1\n", _modifier_state)); - return on; + return off; } LedState MackieControlProtocol::cmd_alt_press (Button &) @@ -91,7 +91,7 @@ LedState MackieControlProtocol::cmd_alt_release (Button &) { _modifier_state &= ~MODIFIER_CMDALT; - return on; + return off; } LedState