[osg-users] Touchscreen and GUIEventHandler question

Jeff White jeladi at yahoo.com
Thu Mar 8 14:09:58 PST 2018


Hi,

I am attempting to get touchscreen functionality working in my app and had a question.  I derived a class from osgGA::GUIEventHandler() and overrode the handle() function.  In that function I check the event adapter parameter for an event type of osgGA::GUIEventAdapter::PUSH.  I would expect this event to register as soon as I touch the screen but instead it isn't showing up until after I remove my finger from the screen.  Am I misunderstanding how this event type is supposed to be used?

Thank you!

Cheers,
Jeff

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73055#73055







More information about the osg-users mailing list