> On 2014 Oct 27, at 20:14, Jim Prouty <j...@wavemetrics.com> wrote: > > Is there code I can write to get the key(s) pressed during NSMenuDelegate's > menuNeedsUpdate:nsmenu method?
Maybe override both -keyDown: and -keyUp: somewhere in your responder chain, and keep track of which key is currently down with your own code. Should be easy for a Carbon guy, Jim :) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com