Hi Stephan (and others) --

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!specify

--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to