Search found 12 matches

by calli
Sat Aug 11, 2007 12:04 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

My Hero!

Thanks to beer! ;-)
Carsten
by calli
Fri Aug 10, 2007 3:48 pm
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

ngomes wrote: Note that the 3DxInput (the COM API) has two modes of operation: you can poll data (as in the Python example in this topic)
But the polling does not work in the examples...

Carsten
by calli
Fri Aug 10, 2007 9:05 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

Good points kitsu!

Carsten
by calli
Fri Aug 10, 2007 1:56 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

Same here, still no values.

However I still don't understand why I have to deal with all this when I just want to read the values of the device. :oops:

Maybe I want to use the values in a non-graphical way or whatever.


Carsten
by calli
Thu Aug 09, 2007 1:17 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

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...
by calli
Wed Aug 08, 2007 9:17 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

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 :...
by calli
Tue Aug 07, 2007 8:25 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

Always Zero.

And sn.Type() gives (as expected) 6.

"my" sample is the striped version of Martijns code, he also got the Zeros in his first try, however inside a OpenGL context he got it working.

Carsten
by calli
Tue Aug 07, 2007 7:10 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

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...
by calli
Tue Aug 07, 2007 6:23 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

It would still be nice to have a way to use a Space Navigator from Python (and other scripting languages)!

Carsten
by calli
Tue Aug 07, 2007 6:22 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

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...
by calli
Tue Aug 07, 2007 4:45 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

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...
by calli
Tue Aug 07, 2007 4:33 am
Forum: Developer's Forum for Windows
Topic: Where's the SDK?
Replies: 37
Views: 82770

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...