mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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:
parent
20d38b1c25
commit
83c765b405
1 changed files with 2 additions and 0 deletions
|
|
@ -369,6 +369,8 @@ Surface::handle_midi_note_on_message (MIDI::Parser &, MIDI::EventTwoBytes* ev)
|
||||||
Strip* strip = dynamic_cast<Strip*> (&button->group());
|
Strip* strip = dynamic_cast<Strip*> (&button->group());
|
||||||
|
|
||||||
if (strip) {
|
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);
|
strip->handle_button (*button, ev->velocity == 0x7f ? press : release);
|
||||||
} else {
|
} else {
|
||||||
/* global button */
|
/* global button */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue