Browse Source

Fix VST Build With DISTRHO_PLUGIN_HAS_EXTERNAL_UI

pull/20/merge
fundamental falkTX <falktx@gmail.com> 6 years ago
parent
commit
49022ac62d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      distrho/src/DistrhoPluginVST.cpp

+ 2
- 0
distrho/src/DistrhoPluginVST.cpp View File

@@ -171,6 +171,7 @@ public:

int handlePluginKeyEvent(const bool down, int32_t index, const intptr_t value)
{
# if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI
d_stdout("handlePluginKeyEvent %i %i %li\n", down, index, (long int)value);

int special = 0;
@@ -215,6 +216,7 @@ public:

if (index >= 0)
return fUI.handlePluginKeyboard(down, static_cast<uint>(index));
# endif

return 0;
}


Loading…
Cancel
Save