From 70e60c0e342998df4711c6b91a77304a6742c1b9 Mon Sep 17 00:00:00 2001 From: Vincenzo Sicurella Date: Sat, 10 Aug 2024 21:26:25 -0400 Subject: [PATCH] fill in some missing LumatoneEventManager callbacks --- .../device/lumatone_event_manager.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Source/lumatone_editor_library/device/lumatone_event_manager.cpp b/Source/lumatone_editor_library/device/lumatone_event_manager.cpp index e260cc2..22be568 100644 --- a/Source/lumatone_editor_library/device/lumatone_event_manager.cpp +++ b/Source/lumatone_editor_library/device/lumatone_event_manager.cpp @@ -518,11 +518,25 @@ FirmwareSupport::Error LumatoneEventManager::handleResponse(const juce::MidiMess case GET_KEYTYPE_CONFIG: return handleKeyTypeConfigResponse(midiMessage); + case GET_MAX_THRESHOLD: + case GET_MIN_THRESHOLD: + case GET_AFTERTOUCH_MAX: + case GET_KEY_VALIDITY: // TODO + return FirmwareSupport::Error::noError; case GET_VELOCITY_CONFIG: return handleVelocityConfigResponse(midiMessage); + case GET_FADER_CONFIG: + return handleFaderConfigResponse(midiMessage); + + case GET_AFTERTOUCH_CONFIG: + return handleAftertouchConfigResponse(midiMessage); + + case GET_VELOCITY_INTERVALS: + return handleVelocityIntervalConfigResponse(midiMessage); + case GET_FADER_TYPE_CONFIGURATION: return handleFaderTypeConfigResponse(midiMessage); @@ -562,6 +576,11 @@ FirmwareSupport::Error LumatoneEventManager::handleResponse(const juce::MidiMess case GET_MACRO_LIGHT_INTENSITY: return handleGetMacroLightIntensityResponse(midiMessage); + case GET_PITCH_AND_MOD_BOUNDS: + case GET_EXPRESSION_PEDAL_BOUNDS: + // TODO? + return FirmwareSupport::Error::noError; + default: jassert(sysExData[MSG_STATUS] == LumatoneFirmware::ReturnCode::ACK); if (midiMessage.getRawDataSize() <= 8)