RE: Cocoa keyboard input
RE: Cocoa keyboard input
- Subject: RE: Cocoa keyboard input
- From: john smith <email@hidden>
- Date: Tue, 25 May 2010 15:05:51 +0200
- Importance: Normal
Thanks Paul,
well, I honestly just assumed it would work as on Windows, where we can simply pass the keyboard event on if we don't use it. That works like a charm in all cases. (If the user double-clicked a text I will grab the keyboard input, otherwise I simply pass it on to the host).
So, we seem to have settled that Logic and AULab is not passing on the keyboard events to the plug-ins.
Do you know if there's any other host which does, so that I can test the keyboard code?
Or even better, do you know if there's a way to hook into the keyboard chain (or whatever the proper term is), so I can "steal" the events when needed? (See above why this is not a bad idea).
Thanks,
Michael Olsen
PhonoXone
Date: Tue, 25 May 2010 08:37:33 -0400 Subject: Re: Cocoa keyboard input From: email@hidden To: email@hidden CC: email@hidden
On Tue, May 25, 2010 at 5:47 AM, john smith <email@hidden> wrote:
Hi, I appear to be unable to receive keyboard inputs in my (64-bit) Cocoa plug-ins. That is, my keyDown is not called at any time (I tried with AULab and Logic). Am I missing something here? Or do plug-ins not receive keyboard input?
that's up to the host. entirely up to the host, since it owns the window in which your plugin's view is displayed. there has been a little discussion about this here in the last couple of weeks. some hosts will try to deliver keyboard input all the time, some will never do it, and some will do it under certain circumstances. what the host does is going to be influenced by the way it uses keyboard input itself. if the host developer(s) use the space bar to toggle transport rolling state, and they want that to work *always*, then its rather unlikely that they will ever deliver a key event for the space bar to your plugin. etc. etc.
--p
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden