Hi Robert,

I haven't tested this on Windows, but you should be able to create as many KeyboardMouse instances as you want per application.  Each of them behaves as a separate event client.   osgProducer is handling events internally but you could create your own Producer::KeyboardMouse instance with its own KeyboardMouseCallback and manage your own events.

-don

On 5/1/06, Robert Balfour <[EMAIL PROTECTED]> wrote:
I'm using osgProducer, but I set
camera->getRenderSurface()->setWindow(win) where win is the handle of a
native window frame (actually a wxWidgets wxPanel).

So it seems that Producer is getting all keyboard and mouse events
directly, and no such events are being sent to the wxPanel itself.

What do I do to get these keyboard and mouse events as well, or instead?

Maybe osgProducer->setKeyboardMouseCallback??? and derive my own
osgProducer::KeyboardMouseCallback custom class?

Thanks.

Bob.
--
Robert E. Balfour, Ph.D.
Exec. V.P. & CTO,  BALFOUR Technologies LLC
1055 Stewart Ave., Suite 18, Bethpage NY 11714
Phone: (516)396-9642  Fax: (516)396-9643  email: [EMAIL PROTECTED]
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to