diff --git a/src/core/MIDIMap.cpp b/src/core/MIDIMap.cpp index 21043046..eedbaae2 100644 --- a/src/core/MIDIMap.cpp +++ b/src/core/MIDIMap.cpp @@ -153,7 +153,7 @@ struct MIDIMap : Module { refreshParamHandleText(learningId); } // Ignore negative values generated using the nonstandard 8-bit MIDI extension from the gamepad driver - if (values[cc] < 0) + if (value < 0) return; values[cc] = value; }