<div dir="ltr"><div><div>Hi Sebastian,<br><br></div>I think that is the proper way. Further you can get ea.getButtom() to inspect which mouse button was pushed<br><br></div>Nick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 3:28 PM, Sebastian Schmidt <span dir="ltr"><<a href="mailto:herrdersuppen@gmail.com" target="_blank">herrdersuppen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I try to get the mouse event, when the middle button is pushed.<br>
<br>
By default the WindowManager receives the event, but unfortunately it is sent as normal mouse push to the widget.<br>
<br>
Is there any chance to catch this special event in my widget, without using the osgGA::GUIEventHandler?<br>
...<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Sebastian<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=66893#66893" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=66893#66893</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">trajce nikolov nick<br></div>
</div>