Starting with WebKitCIPlugIn, I create an interactive 3-D display in a
Safari window. I've been able to receive and process left and right mouse
events by adding NSView methods mouseDown:, mouseDragged, mouseUp:, and the
equivalent rightMouse methods. These seem to work pretty well.
However, adding
- (void)keyDown:(NSEvent *)theEvent
doesn't intercept any keyboard events.
I have also added
- (BOOL)acceptsFirstResponder, returning YES
so the NSview should be able to get the keyboard events.
However, there are still no calls to my keyDown method.
I've tried to use makeFirstResponder: using self, but that clobbers the plugin.
What am I missing? And any hints on how to debug a Safari plugin?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden