From efd222afe99590919edb3f6eb77569b8bc2d7572 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 31 Jan 2017 17:52:59 +0100 Subject: mackie: more debug tracing --- libs/surfaces/mackie/mcp_buttons.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/surfaces') diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 435c1b91b3..aec1703a26 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -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 */ -- cgit v1.2.3