Cubase doesn't pass keystrokes to the VST, how to handle?

I am not familiar with Cubase. Is there a plugin setting that allows the plugin to handle keystrokes before the host does? This setting exists in other DAWs like FL Studio or Ardour.

For example, in FL Studio, if I enable this option, everything works fine. As far as I can see, Cubase does not have this behavior. Because of this, plugin and GUI toolkit developers often implement various hacks, such as adding hooks to main loop capture key messages and block them from reaching the host. However, I would like to avoid this kind of implementation.

I’ve implemented Vst::EditorView::onKeyDown, it works, but still the VST3 passes the keys also to the host, thus, I don’t think it really works.

The host needs to handle this correctly and pass the key events to the plugin UI. For now, I’ll put this issue related to Cubase on hold.

How a developer of a plugin can handle this?

The plug-in will get IPlugView::onKeyDown calls. The plug-in needs to return kResultTrue so that the host knows that the key press was handled by the plug-in so that it does not handle it itself.

1 Like