[osg-users] get middle mouse event

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Wed Apr 20 06:48:04 PDT 2016


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 <herrdersuppen at 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160420/82fd0dd3/attachment-0003.htm>


More information about the osg-users mailing list