Hey Thank you:
I have tried the override but I am just not seeing the events coming
through. Let me try again and see if I can't get this working.
Thank you again!
Take care
Garrett
On Jun 5, 2007, at 9:56 AM, Can Özmen wrote:
Hi Garret,
On Windows this is done by subclassing the QApplication class and
re-implementing the winEventFilter function. I see there is also a
virtual macEventFilter function, here is the documentation:
"bool QApplication::macEventFilter ( EventHandlerCallRef caller,
EventRef event ) [virtual]
Warning: This virtual function is only implemented under Mac OS X.
If you create an application that inherits QApplication and
reimplement this function, you get direct access to all Carbon Events
that are received from Mac OS X with this function being called with
the caller and the event.
Return true if you want to stop the event from being processed. Return
false for normal event dispatching. The default implementation returns
false"
I don't know the difference between Cocoa and Carbon Events, but this
might do the trick.
Regards,
Can.
On 6/5/07, Garrett Potts <[EMAIL PROTECTED]> wrote:
Hello All:
Just curious, has anyone ever used/gotten the 3dconnexion
SpaceNavigator personal edition to work on a MacOSX within
Trolltech's Qt environment. I am basically trying to use the device
to manipulate a 3-D OSG scene. I know this might be off topic but I
figured what better place than to post a question where a number
of 3-
D users and software developers live :)
The basic problem or what appears to me to be the problem is that the
Async messaging on the 3dconnexion drivers for MAC do not appear to
get propagated through the Trolltech Qt GUI. Not sure if anyone has
ever addressed this and had a solution or not. There sample app that
is a native Cocoa works nicely this just leads me to believe that the
could be getting filtered out in Qt.
Take care and sorry for the slightly off topic note.
Garrett
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
Can Ozmen
________________________
Computer Graphics Lab.
Sabanci University, Turkey
phone: +(90) 216 483 9000 ext 2321
http://graphics.sabanciuniv.edu
http://students.sabanciuniv.edu/~canozmen
_______________________________________________
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/