Login / Register  0 items | $0.00 NewWhat is KVR? Submit News Advertise
sinosoidal
KVRist
 
55 posts since 3 Jun, 2011, from Braga, Portugal

Postby sinosoidal; Tue Oct 03, 2017 8:39 am How to handle onKeyUp on VST Editor? Nothing happens...

Hi,

From the AEffEditor header I thought that by extending onKeyUp and onKeyDown I would automatically had the key events passing thru from the host to the editor but I can't have nothing being triggered. What am I missing here?

Regards,

Nuno
Big Tick
KVRAF
 
3190 posts since 28 May, 2001, from New York, NY

Postby Big Tick; Thu Oct 05, 2017 8:53 am Re: How to handle onKeyUp on VST Editor? Nothing happens...

You're not missing anything - most hosts don't support this.

If you want to handle key press events, you need to capture them yourself. If you're using vstgui you can use CFrame::registerKeyboardHook()
sinosoidal
KVRist
 
55 posts since 3 Jun, 2011, from Braga, Portugal

Postby sinosoidal; Thu Oct 05, 2017 8:55 am Re: How to handle onKeyUp on VST Editor? Nothing happens...

Gotcha ya!

Thanks for your reply.

Regards

Moderator: Moderators (Main)

Return to DSP and Plug-in Development