Why don't I get keyUp / keyDown events for control characters in Cocoa?
My NSView window receives key up / key开发者_如何学JAVA down events for all keys except for Shift, Alt, Cmd and a few others... How can I fix that?
Modifier keys are a special case. If you want to know when they're pressed or released, implement the responder method -flagsChanged:
精彩评论