diff --git a/src/common/logging/vst3.cpp b/src/common/logging/vst3.cpp index 69117b23..5f754e22 100644 --- a/src/common/logging/vst3.cpp +++ b/src/common/logging/vst3.cpp @@ -400,6 +400,17 @@ bool Vst3Logger::log_request( }); } +bool Vst3Logger::log_request( + bool is_host_vst, + const YaMidiLearn::OnLiveMIDIControllerInput& request) { + return log_request_base(is_host_vst, [&](auto& message) { + message << request.instance_id + << ": IMidiLearn::onLiveMIDIControllerInput(busIndex = " + << request.bus_index << ", channel = " << request.channel + << ", midiCC = " << request.midi_cc << ")"; + }); +} + bool Vst3Logger::log_request( bool is_host_vst, const YaMidiMapping::GetMidiControllerAssignment& request) { diff --git a/src/common/logging/vst3.h b/src/common/logging/vst3.h index 75808789..dec34580 100644 --- a/src/common/logging/vst3.h +++ b/src/common/logging/vst3.h @@ -110,6 +110,8 @@ class Vst3Logger { const YaKeyswitchController::GetKeyswitchCount&); bool log_request(bool is_host_vst, const YaKeyswitchController::GetKeyswitchInfo&); + bool log_request(bool is_host_vst, + const YaMidiLearn::OnLiveMIDIControllerInput&); bool log_request(bool is_host_vst, const YaMidiMapping::GetMidiControllerAssignment&); bool log_request(bool is_host_vst,