mackie: more debug tracing
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 Jan 2017 16:52:59 +0000 (17:52 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 Jan 2017 16:52:59 +0000 (17:52 +0100)
libs/surfaces/mackie/mcp_buttons.cc

index 435c1b91b39e85f378d1b63dab5a7ebf567c2325..aec1703a26692185b55752357c40e6d901d91894 100644 (file)
@@ -443,10 +443,13 @@ MackieControlProtocol::marker_release (Button &)
 
        _modifier_state &= ~MODIFIER_MARKER;
 
-       if (main_modifier_state() & MODIFIER_SHIFT)
+       if (main_modifier_state() & MODIFIER_SHIFT) {
+               DEBUG_TRACE (DEBUG::MackieControl, "shift was being held down, do nothing\n");
                return off;   //if shift was held, we already did the action
+       }
 
        if (marker_modifier_consumed_by_button) {
+               DEBUG_TRACE (DEBUG::MackieControl, "marked modifier consumed by button, ignored\n");
                /* marker was used a modifier for some other button(s), so do
                   nothing
                */