using sdk

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

Moderator: Moderators

kit
Posts: 16
Joined: Tue Aug 12, 2008 4:28 am

Post by kit »

I use:

VS2003 (7.1)
SpaceNavigator
Directx (but I do not use DirectInput, so examples with DirectInput also misbecome)
it is normal windows application, without COM,


So, I want SDK for SpaceNavigator, that not uses COM, DirectInput, but I want adequate method to handle messages (notification) from SpaceNavigator
sincerely yours,
kit
kit
Posts: 16
Joined: Tue Aug 12, 2008 4:28 am

Post by kit »

I use:

VS2003 (7.1)
SpaceNavigator
Directx (but I do not use DirectInput, so examples with DirectInput also misbecome)
it is normal windows application, without COM,


So, I want SDK for SpaceNavigator, that not uses COM, DirectInput, but I want adequate method to handle messages (notification) from SpaceNavigator
sincerely yours,
kit
ngomes
Moderator
Moderator
Posts: 3344
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Post by ngomes »

DirectInput is part of DirectX. It may simply be easier to use than anything else. Are you positive you cannot use DirectInput?

Otherwise consider using Raw Input.

If indeed you cannot use either the above interfaces nor a COM server, have a look on our "legacy" SDK that jwick mentioned above (it is available on the 3Dconnexion "archive"). This SDK has a C interface and may be easier for you to use it. It includes the documentation and some code examples.
kit
Posts: 16
Joined: Tue Aug 12, 2008 4:28 am

Post by kit »

So, now I have 1 acceptable variant. It is using WM_INPUT.

At first, can you say, what disadvantage has this variant?

And second question - Can I use 3DxWare SDK to handle messages from SpaceNavigator, or I can handle messages only from SpaceTraveler ?
sincerely yours,
kit
ngomes
Moderator
Moderator
Posts: 3344
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Post by ngomes »

All SDK and other interfaces can be used with all USB devices.
kit
Posts: 16
Joined: Tue Aug 12, 2008 4:28 am

Post by kit »

Thanks you for yours answer, you helped me so much. I downloaded SDK, found help. But I cannot find in sdk supported devices. Also I founded only these events:

SI_MOTION_EVENT
SI_ZERO_EVENT
SI_BUTTON_EVENT
SI_SYNC_EVENT
SI_BUTTON_PRESS_EVENT
SI_BUTTON_RELEASE_EVENT

But SpaceNavigator has more than 6 events. Where I can find other ? And where I can found list of supported devices ?
sincerely yours,
kit
ngomes
Moderator
Moderator
Posts: 3344
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Post by ngomes »

kit wrote:But SpaceNavigator has more than 6 events. Where I can find other ?
I do not think I follow your question. What other events are you referring to?
And where I can found list of supported devices ?
The answer is my previous post.
kit
Posts: 16
Joined: Tue Aug 12, 2008 4:28 am

Post by kit »

ok, I want document where I can read this :) I understand, I believe you :)
sincerely yours,
kit
Post Reply