How can NSView say which keys it actually used?
How can NSView say which keys it actually used?
- Subject: How can NSView say which keys it actually used?
- From: Vojtěch Meluzín <email@hidden>
- Date: Wed, 22 Feb 2012 01:20:49 +0100
Hi,
I have a problem in an AudioUnit plugin with NSView GUI - it takes the
keyboard routines to get info about keys being pressed. But there actually
2 crazy cases in different hosts :
1) in Logic it blocks the spacebar - I need when user presses spacebar to
let logic know about that, not use it by the plugin.
2) in Live it works conversely - it just doesn't get some of the keys. So
when user needs to actually write something (not that it would be typical,
but is needed sometimes), it just doesn't get some of the keys.
Interestingly enough, this also happens in Logic with some letters.
So what on earth causes this?? The methods don't return any values, so
there is no way to tell if the event has been used. Any ideas?
Regards, Vojtech
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden