I have a NSView
subclass and I would like it to react when the user presses the ? Shift key. However, -[NSView keyDown:]
(which I currently override) isn't called when modifier keys alone are pressed.
How can I be notified when the Shift key has been pressed?
See Question&Answers more detail:os