Hi Stephan and Thomas, On Sun, Sep 12, 2010 at 8:03 PM, Stephan Huber <ratzf...@digitalmind.de> wrote: > I'd say, we'll use the the exisiting event-types , push, drag, release > for touch-events. What is needed is a touch-id-variable to differentiate > between multiple touches at the same time. So we have basic > compatibility to old code and do not bloat the GUIEventAdapter-class too > much, only adding one int. We can even use the _button-property of > EventAdapter. (that's my current approach)
I kinda like this idea, it's not too intrusive w.r.t osgGA. However, in terms of event handlers receiving events I would have thought you'd want to get all the events for a single multi-touch together, since if you are getting them one by one you'd need to have a start and stop event so you'd know how to accumulate. How about a composite GUIEventType, or one that forms a linked list, and you just pass the head around. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org