From 83c765b405bc92d45f181a134cbe29c0370df3e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 11 Apr 2012 16:24:52 +0000 Subject: [PATCH] MCP: more debug traces for button press git-svn-id: svn://localhost/ardour2/branches/3.0@11905 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/surfaces/mackie/surface.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/surfaces/mackie/surface.cc b/libs/surfaces/mackie/surface.cc index e891a14b87..8600d34be7 100644 --- a/libs/surfaces/mackie/surface.cc +++ b/libs/surfaces/mackie/surface.cc @@ -369,6 +369,8 @@ Surface::handle_midi_note_on_message (MIDI::Parser &, MIDI::EventTwoBytes* ev) Strip* strip = dynamic_cast (&button->group()); if (strip) { + DEBUG_TRACE (DEBUG::MackieControl, string_compose ("strip %1 button %2 pressed ? %3\n", + strip->index(), button->name(), (ev->velocity == 0x7f))); strip->handle_button (*button, ev->velocity == 0x7f ? press : release); } else { /* global button */