summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-11 16:24:52 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-11 16:24:52 +0000
commit83c765b405bc92d45f181a134cbe29c0370df3e3 (patch)
tree705b93175639c3663b564e2ec53c4b200de95ff3
parent20d38b1c25b9eaf3790ce148a74a0f708dabaa0c (diff)
MCP: more debug traces for button press
git-svn-id: svn://localhost/ardour2/branches/3.0@11905 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/surfaces/mackie/surface.cc2
1 files changed, 2 insertions, 0 deletions
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<Strip*> (&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 */