As i have been working abit with theese, i found little use of the
mouseMotion event. For me, it could just as well be a
passiveMouseMotion event sent, as i keep track of the buttons state
myself.

MVH
David Johansson

On 7/12/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
On 7/12/06, Leandro Motta Barros <[EMAIL PROTECTED]> wrote:
> 'getButtonMask()' is still accessible (at least it seems to be ;-)),
> and can be used when this distinction is really necessary.

getButtonMask() is the current state of the mouse buttons so will
always be valid for all event types.  The same applies to the
getModKeyMask() state is always valid for all event types.

Its the button value just like a key value that is inappropriate to
use with a mouse move or drag event, these values are only appropriate
for mouse button press/release or key up/down respectively.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to