MCP: more debug traces for button press

git-svn-id: svn://localhost/ardour2/branches/3.0@11905 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-11 16:24:52 +00:00
parent 20d38b1c25
commit 83c765b405

View file

@ -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 */