* This doesn't conflict with dvd menu navigation.
* If these keys are set to an action that is handled by Cocoa, this action will have priority.
case NSDeleteCharFunctionKey:
case NSBackspaceCharacter:
return YES;
+ case NSUpArrowFunctionKey:
+ case NSDownArrowFunctionKey:
+ case NSRightArrowFunctionKey:
+ case NSLeftArrowFunctionKey:
+ case NSEnterCharacter:
+ case NSCarriageReturnCharacter:
+ return NO;
}
val.i_int |= CocoaKeyToVLC( key );
[[self delegate] deleteItem:self];
break;
+ case NSEnterCharacter:
+ case NSCarriageReturnCharacter:
+ [(VLCPlaylist *)[[VLCMain sharedInstance] getPlaylist]
+ playItem:self];
+ break;
+
default:
[super keyDown: o_event];
break;