Having said that, you should also note that removing the need for a message pump does not make your Python script any more portable. The reason being that to, receive 3D mouse data, you will also need to code something that is platform -specific. Well, I coded a python app for a angular decoder (to...
Hi calli, Always Zero. This is probably -- as previously discussed -- because there's no "message pump" on the thread that is connecting to the driver. The key is enabling your program to receive window messages. The COM api wraps a protocol that uses registered window messages (Win32's :...
I am very aware about win32com or ctypes (http://starship.python.net/crew/theller/ctypes/ which is more Multiplatform, at least it also works with .so libraries on Linux). However I could not read anything from my SN with this: #!/usr/bin/env python import sys import win32com.client sn = win32com.cl...
Hi calli, - What is a "message pump" - how can I implement on in Python? - why can`t we have a function just reading out the values? A "message pump" is what is generally called the Windows feature of transmitting "messages" between the system and applications. Are you...
Hi calli, I am trying to use the Spave Navigator in Blenders (blender.org) Gameengine via Python. I'm not sure it applies here but a beta program of the solution for Blender and 3D mice started today. More information is available here . No thats not what I am for. I extended the Gameengine in Blen...
Hi, I am also trying to use the Space Navigator in Python. Because I had some problems installing PythonGL (more GLUT was bailing out), I stripped Martijn's exapmple to a non GL Version. However I now have the problem only getting zeros as result. As I understand from this discussion it is because o...