You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm implementing the UI for my plugin with egui and testing it in Reaper on macOS. It includes a text field for the user to type into. It doesn't work correctly. When I try to type into it, Reaper intercepts the keystrokes and interprets them as commands instead of sending them to the text field.
I found reports of the same problem in other VSTs:
I'm implementing the UI for my plugin with egui and testing it in Reaper on macOS. It includes a text field for the user to type into. It doesn't work correctly. When I try to type into it, Reaper intercepts the keystrokes and interprets them as commands instead of sending them to the text field.
I found reports of the same problem in other VSTs:
https://forums.steinberg.net/t/how-receive-computer-keyboard-keystrokes-in-vst3-plugins/700967
iPlug2/iPlug2#477
Based on those reports, I believe the problem is that NIH-plug doesn't implement
on_key_down()
andon_key_up()
:nih-plug/src/wrapper/vst3/view.rs
Lines 339 to 355 in 16c6c58
Returning
kNotImplemented
tells the host that the plugin isn't interested in keypresses, and the host should interpret them itself.The CLAP version of the plugin has the same problem. I assume it has a similar mechanism.
The text was updated successfully, but these errors were encountered: