Event driven python / 3d mouse

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Event driven python / 3d mouse

Postby 0beron » Wed Oct 29, 2008 4:53 pm

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
0beron
 
Posts: 2
Joined: Wed Oct 29, 2008 4:20 pm

Postby Tarik » Sun Mar 14, 2010 7:26 pm

Hi,

Take a look at this: http://cgkit.sourceforge.net/doc2/space ... paceDevice

Hope this will help.

Tarik
Tarik
 
Posts: 7
Joined: Sat Oct 24, 2009 8:12 pm


Return to Developer's Forum for Windows

Who is online

Users browsing this forum: No registered users and 2 guests