Re: How to correctly handle NSView::keyDown/Up in AudioUnit to avoid crashing Logic?

2014-03-18 Thread Kyle Sluder
On Mar 18, 2014, at 4:56 AM, Vojtěch Meluzín wrote: > > Hi, > > my plugins are accepting keyboard events. When a key event is not handled, > it is forwarded somewhere else like this: > > [super keyDown: pEvent] > > If that's not done, hosts don't get spacebar for start/stop playback for > exam

How to correctly handle NSView::keyDown/Up in AudioUnit to avoid crashing Logic?

2014-03-18 Thread Vojtěch Meluzín
Hi, my plugins are accepting keyboard events. When a key event is not handled, it is forwarded somewhere else like this: [super keyDown: pEvent] If that's not done, hosts don't get spacebar for start/stop playback for example. Unfortunately there's a problem with Logic - when you press 1/2/3/4..