On 7/12/06, David Johansson <[EMAIL PROTECTED]> wrote:
>2) Define "priorities". For example: if both the left and right
>buttons are pressed, report that a drag for the left button (I guess
>OSG 1.0 did something like this). This is pretty simple to implement,
>and would be good enough for my needs.
What if the programmer wants to know when both left and right
mousebutton is down? I think it would be better to add more options to
the event. Rather than limit it. ie.
Lbutton down = 1
Rbutton down = 2
Mbutton down = 4
L+Rbutton = 3
L+Mbutton = 5
R+Mbutton = 6
'getButtonMask()' is still accessible (at least it seems to be ;-)),
and can be used when this distinction is really necessary.
LMB
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/