Hello all,

I am still working on this cross platform port from my OS X app to Windows XP..

On my Mac I am spoiled by having a Mighty Mouse with four direction scroll ball, instead of a scroll wheel, and have incorporated that into my app on OS X. I use it for movement and panning in the Scene View.

I assumed that on the PC I would only get scroll wheel functionality.
However whilst the callbacks I am using register that some kind of scrolling is going on on the PC, I don't get any valid values from the scroll deltas returned....

I am using 'osgGA::GUIEventAdapter::SCROLL' to register the scroll wheel / scroll ball movement, in a callback.
I then use getScrollingDeltaX , ..DeltaY to read the wheel / ball.

As I have said, on both platforms with the code unchanged I register that the scroll wheel is being used, but only on the Mac do I get anything other than 0 values from the get functions..

I don't mind getting the values from somewhere else, but don't know where to look, and am a little dissapointed that this part of the code will have to be system specific, rather than just work on any platform the same way...

I can't find anything on the mailing list about this either..

So I am assuming it is perhaps a non-issue and I am missing something..

Can someone enlighten me..

Thanks once again.

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

Reply via email to