Browse Source

Fix MIDI-Map not handling CC.

tags/v2.0.3
Andrew Belt 2 years ago
parent
commit
943632aacb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/core/MIDIMap.cpp

+ 1
- 1
src/core/MIDIMap.cpp View File

@@ -153,7 +153,7 @@ struct MIDIMap : Module {
refreshParamHandleText(learningId); refreshParamHandleText(learningId);
} }
// Ignore negative values generated using the nonstandard 8-bit MIDI extension from the gamepad driver // Ignore negative values generated using the nonstandard 8-bit MIDI extension from the gamepad driver
if (values[cc] < 0)
if (value < 0)
return; return;
values[cc] = value; values[cc] = value;
} }


Loading…
Cancel
Save