JuceAudioPlugin - keyboard focus


#1

I’m going to have to take the ol’ scissors to the wrapper code it looks like, as it’s essential that my plugin is able to get proper keyboard focus. At the moment, Tracktion recieves the keystrokes - some arrive at the plugin, but, for example, ‘a’ triggers the import audio file dialog.

Just letting you know that it’s very important, in case you fancied doing an ‘official’ thing before i do some damage


#2

for now, all i have done is this:

line 905 of JuceVstWrapper.cpp

	else if (opCode == effKeysRequired) return 0;

this makes it all work nicely. it could most likely do with a bool in the FilterInfo, but right now i can live with this.


#3

Good point - I’ll add that to the info structure. Ta.


#4