I have an application that processes keystrokes via keyDown.
This works well so far, with the exception of two problems (I'll post/ask the other later).
The problem here is the Shift+Tab combo. I would like to process it myself, but as explained in the Mac OS keyboard event doc, it is used to move the focus forward.
I tried capturing it under
-(BOOL)performKeyEquivalent:(NSEvent *)nsevent
{
}
where I do get an event for it, returning TRUE or FALSE but it still does not appear in keyDown:
I also know about selectNextKeyView: but ideally I am looking for a way to get the system to pass the combination to keyDown: for normal handling (incidentally keyUp: is called correctly for it).
-(void)selectNextKeyView:(id)sender
{
// shift+tabbed
}