Hi Sebastian, I think that is the proper way. Further you can get ea.getButtom() to inspect which mouse button was pushed
Nick On Wed, Apr 20, 2016 at 3:28 PM, Sebastian Schmidt <herrdersup...@gmail.com> wrote: > Hi, > > I try to get the mouse event, when the middle button is pushed. > > By default the WindowManager receives the event, but unfortunately it is > sent as normal mouse push to the widget. > > Is there any chance to catch this special event in my widget, without > using the osgGA::GUIEventHandler? > ... > > Thank you! > > Cheers, > Sebastian > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66893#66893 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org