Search found 12 matches

by simplyRubbish
Mon Oct 05, 2009 7:04 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

You are completely circumventing the driver, and thus the GUI, when you use DI, or any of the MS APIs. You are going directly to the device. In fact, the user doesn't even need to install any 3Dconnexion software to work with your app. OTOH, there is a 3Dx driver in testing that will allow your use...
by simplyRubbish
Sun Oct 04, 2009 7:59 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

One thing I'm noticing that may have already been addressed is in the DIExample code as well as mine, the input values from the spaceball don't change when I change the "overall speed" on the 3Dconnexion Control Panel. Is this a known issue with DInput?
by simplyRubbish
Fri Oct 02, 2009 3:22 pm
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

Well everything looks good and the device is updating except one problem. On MsgWaitForMultipleObjects it's just staying there and not responding. I read MSDN and it looks like I'm doing everything right. I guess it's not getting any events for the handle? What can I do to fix this? One thing to not...
by simplyRubbish
Fri Oct 02, 2009 12:00 pm
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

jwick wrote:Make sure you are stashing it where you think you are.
Gotcha, will double check for that.
by simplyRubbish
Fri Oct 02, 2009 11:56 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

That's just a context pointer to get data into the EnumAxesCB callback. You can get that data in there any way you want, even an evil global variable (eek). Hmm I wonder why DIDeviceInfo *pDIDeviceInfo would be NULL in EnumAxesCB function... I'll give it another shot and hopefully it works. Thanks ...
by simplyRubbish
Fri Oct 02, 2009 11:38 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

Thanks for the help jwick. It's much appreciated. One last question I have is, do I have to initialize the windows form to get DInput to work? From the example code that looks like what I have to do but I may be incorrect in this. I think that was the problem I was having earlier is that the HWND I ...
by simplyRubbish
Fri Oct 02, 2009 11:30 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

Let me add a bit more detail that can be helpful. The application I am using the SpaceExplorer device for is a console application that is basically a "wrapper" for a 3d application that uses DirectX. We used to use direct calls to the 3dConnexion software such as SIOpen but those are no l...
by simplyRubbish
Fri Oct 02, 2009 11:24 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

I don't know what the scope of "don't use Win32 windows" means. It doesn't run on Linux. I don't think you need a windows event loop if that's what you are asking about. The sample code that you are apparently using only uses windows to display information to the end user. You should read...
by simplyRubbish
Fri Oct 02, 2009 11:01 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

jwick wrote:??
global variable ??
What do you mean by 'global variable'? Am I missing a variable?

Am I even able to use DInput if I don't use Win32 windows?
by simplyRubbish
Fri Oct 02, 2009 7:54 am
Forum: Developer's Forum for Windows
Topic: Issues using DInput
Replies: 1
Views: 6313

Double thread, please ignore this one.
by simplyRubbish
Fri Oct 02, 2009 7:39 am
Forum: Developer's Forum for Windows
Topic: Issues using DInput
Replies: 1
Views: 6313

Issues using DInput

I have already posted this topic in the general "Developer's Forum for Windows" but figured to post here as well. If I shouldn't have I apologize. First off, I am using the SpaceExplorer and attempting to get this device to work with our software using DirectInput: http://www.3dconnexion.c...
by simplyRubbish
Fri Oct 02, 2009 7:36 am
Forum: Developer's Forum for Windows
Topic: Issues using DirectInput
Replies: 16
Views: 26823

Issues using DirectInput

First off, I am using the SpaceExplorer and attempting to get this device to work with our software using DirectInput: http://www.3dconnexion.com/3dmouse/spaceexplorer.php The problem that I'm getting stumped at is in EnumAxesCB function. *pDIDeviceInfo is NULL so my application crashes. Here's what...