// in_use is set by the MackieControlProtocol::handle_strip_button
// relies on implicit ControlState constructor
- control_event (*this, *control, float (midi_pos) / float(0x3ff));
+ _mcp.handle_control_event (*this, *control, float (midi_pos) / float(0x3ff));
}
}
control->set_in_use (true);
add_in_use_timeout (*control, control);
- // emit the control event
control_event (*this, *control, state);
}
break;
}
}
+void
+MackiePort::control_event (SurfacePort& sp, Control& c, const ControlState& cs)
+{
+ _mcp.handle_control_event (sp, c, cs);
+}