Lingyun Yu wrote:
> I see, thank you paul. So if I want to judge which botton is pressed, I
> should use ea->getButton(). But what's ea->getButtonMask() use for?

  A mask value like that is usually used so it can indicate that multiple 
buttons are
pressed simultaneously. The bits in the mask don't overlap.

-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to