I've got my Space Navigator PE up and running inside python using the win32com module, but only in polling mode, ie I have to grab the sensor values continually. My application only redraws when the viewpoint moves (using wxPython to bind events to mouse movement).
Can I ask COM to call a callback or something similar whenever the SpaceNavigator is moved? An example would be great, but failing that a pointer to some docs for handling COM events in python would also be useful...
Cheers
Event driven python / 3d mouse
Moderator: Moderators
Hi,
Take a look at this: http://cgkit.sourceforge.net/doc2/space ... paceDevice
Hope this will help.
Tarik
Take a look at this: http://cgkit.sourceforge.net/doc2/space ... paceDevice
Hope this will help.
Tarik