mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
MCP: rename raw_id() to id(); add missign modifier_state() function
git-svn-id: svn://localhost/ardour2/branches/3.0@11907 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8cc2f19926
commit
337b420266
10 changed files with 38 additions and 44 deletions
|
|
@ -374,7 +374,7 @@ Surface::handle_midi_note_on_message (MIDI::Parser &, MIDI::EventTwoBytes* ev)
|
|||
strip->handle_button (*button, ev->velocity == 0x7f ? press : release);
|
||||
} else {
|
||||
/* global button */
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("global button %1\n", button->raw_id()));
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("global button %1\n", button->id()));
|
||||
_mcp.handle_button_event (*this, *button, ev->velocity == 0x7f ? press : release);
|
||||
}
|
||||
} else {
|
||||
|
|
@ -497,7 +497,7 @@ Surface::zero_all ()
|
|||
|
||||
for (Controls::iterator it = controls.begin(); it != controls.end(); ++it) {
|
||||
Control & control = **it;
|
||||
if (!control.group().is_strip() && control.accepts_feedback()) {
|
||||
if (!control.group().is_strip()) {
|
||||
_port->write (control.zero());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue