Hi Paul, (sorry for the previous truncated mail, hit the send button by mistake)
please have a look at the thread on osg-submissions where I explain the details and concepts of multi-touch to Robert: http://forum.openscenegraph.org/viewtopic.php?t=7137 I hope this helps for getting started. If there are any questions left, I'll try my best to answer them. cheers, Stephan Am 03.02.11 02:56, schrieb Paul Martz: > I'm working on a project that needs to generate multitouch events, and I > have a question about the current (2.9.10) implementation. > > There are three main EventQueue methods for adding three different > multitouch events: > touchBegan() > touchMoved() > touchEnded() > And their purpose is quite clear from their names. > > However, all three of them take a TouchPhase parameter: > enum TouchPhase { > TOUCH_UNKNOWN, > TOUCH_BEGAN, > TOUCH_MOVED, > TOUCH_STATIONERY, > TOUCH_ENDED > }; > > It's not clear to me what it would mean if I were to, for example, call > touchBegan, and pass in TOUCH_ENDED for the phase. This just doesn't > make sense to specify a phase that contradicts with the type of event > I'm adding. > > I must be misunderstanding the purpose of this interface. If you could > provide some usage insight I would appreciate it. Thanks! _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

