diff --git a/distrho/src/DistrhoPluginVST2.cpp b/distrho/src/DistrhoPluginVST2.cpp index 95429c7c..6afa717f 100644 --- a/distrho/src/DistrhoPluginVST2.cpp +++ b/distrho/src/DistrhoPluginVST2.cpp @@ -359,23 +359,10 @@ public: if (index > 0) { // keyboard events must always be lowercase - bool needsShiftRevert = false; if (index >= 'A' && index <= 'Z') - { index += 'a' - 'A'; // A-Z -> a-z - if ((fKeyboardModifiers & kModifierShift) == 0x0) - { - needsShiftRevert = true; - fKeyboardModifiers |= kModifierShift; - } - } - fUI.handlePluginKeyboardVST2(down, static_cast(index), fKeyboardModifiers); - - if (needsShiftRevert) - fKeyboardModifiers &= ~kModifierShift; - return 1; }