Not a silly question at all. Just search on this forum (developer's for Windows) for the term "delphi". There are others that have provided a solution.
Hi ngomes,
I've read everything on the delphi subject on this forum. Unfortunately, I found only a promise of forthcoming SDK for pascal developers. Is it available now? It was said to come out on the first quarter of 2007...
Another way is to use a ready solution, offered by CCrDude (my special thanks to you ), and it works great, but I'm trying to solve it on my own. That's why a little piece of manual would be really useful!
You can use COM in Delphi. The 3DxInput COM server implements standard COM interfaces. I suggest you look up information on how to use COM objects in Delphi.
Another question: does the sensor offsets differ for rotations an translations? SDK says that offset values are -MAX..MAX in all cases, but in fact I receive values in -1..1 for rotations and -MAX..MAX for translations.
The rotation is separated into two parts: the direction cosines of the axis of rotation and the angle around that axis. You have to combine the axis and angle to get the total rotation. I think there is a method to do that.