On Mon, 16 Nov 2020 at 05:05, OpenSceneGraph Users <
osg-users@lists.openscenegraph.org> wrote:

> sorry,I mean  what method  get the number of GUIEventAdapter::USER  in OSG?
>

You'll need to get the osgGA::EventQueue which you are pushing the user
events to and then traverse through the events in the queue and check each
one.

The application can have multiple EventQueue, one per osgViewer::Window and
one osgGA::Device, and one per osgViewer::View.  The viewer EventTraversal
will collate these and then pass them on to the event handlers and do the
event traversal.

I know nothing about your application so really can't provide any specific
advice.

Robert.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/mailman.30139.1605519713.3538.osg-users-openscenegraph.org%40lists.openscenegraph.org.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/mailman.30139.1605519713.3538.osg-users-openscenegraph.org%40lists.openscenegraph.org.

Reply via email to