Hi Paul and Paul :)

On Mon, Mar 24, 2008 at 10:11 PM, Paul Speed <[EMAIL PROTECTED]> wrote:
> I can't be sure because my memory is fuzzy... but as I recall, osgGA
>  events only tell you the current state of the buttons.  This is true for
>  down or up and is evident when you are pressing more than one button at
>  a time.
>
>  At least, I'm pretty sure our application had to track button state
>  separately so that we could detect which button was pressed or released
>  for a given event.

Yes this is correct, the getButtonMask returns the current state of
the mouse, while getButton() returns the actual button related to the
event.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to