diff options
author | Len Ovens <len@ovenwerks.net> | 2015-09-20 18:26:16 -0700 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-21 10:03:56 +0200 |
commit | 47976ed4faa525f892d0575c9751cf46838d4053 (patch) | |
tree | 98c6e51aab0f17038a75fe5dc21004708c12b463 /libs | |
parent | 01403dc1ddec5c70e00874d72b72289b86833467 (diff) |
Make Mackie control surface LEDs for modifier keys only light while pressed. (fixes #6601)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/mackie/mcp_buttons.cc | 8 |
1 files 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 |