[Linux] How to deal with keyboard event

SDK for VST 3 audio plug-in and host development.
Post Reply
Posts: 48
Joined: Tue Jun 21, 2016 12:43 pm

[Linux] How to deal with keyboard event

Post by abique »


I wonder what is the correct way to deal with keyboard events on Linux.

Should the plugin forward unhandled events to the parent window?

Should the DAW intercept all events and then decide which one to forward to the plugin? If so, should it happen using the vst3 interfaces or by forwarding the X11 events directly?

Many thanks,

Arne Scheffler
Posts: 380
Joined: Mon Jun 20, 2016 7:53 am

Re: [Linux] How to deal with keyboard event

Post by Arne Scheffler »

I'm not very familiar with X11 but if forwarding events work, then the plug-in editor should handle keyboard events if it has focus. If a keystroke is not consumed by it, then it should forward the event to the parent window. If forwarding events doesn't work, then the host should handle all this.


Post Reply