Search found 19 matches

by DeeMAGE
Thu Apr 04, 2013 8:21 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

I don't understand what you meant by scaled up with 512. From your own code: // Set the range for the axis DIPROPRANGE diprg; diprg.diph.dwSize = sizeof(DIPROPRANGE); diprg.diph.dwHeaderSize = sizeof(DIPROPHEADER); diprg.diph.dwHow = DIPH_BYID; diprg.diph.dwObj = pdidoi->dwType; // Specify the enum...
by DeeMAGE
Thu Apr 04, 2013 8:08 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

It is in range about -1400..+1400.
The values 1,2,3,4 is fairly hard to get.
by DeeMAGE
Thu Apr 04, 2013 7:56 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

jwick wrote:0,1,2,3,4, then 4,3,2,1,0 when you release the cap?
Yes, but it scaled up with 512.
I have no idea about firmware but we have thousands of users and all your devices does fine except SpaceMousePro, which expected to be fixed when we will switch it to _REL.
by DeeMAGE
Thu Apr 04, 2013 7:31 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

jwick wrote:Are you using it in the mode where DI does not give you the displacement from 0 but some large number and constant small changes to it?
No, it gives us correct numbers from 0 in usual DIJOYSTATE structure. All devices.
by DeeMAGE
Thu Apr 04, 2013 6:42 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

Thank you.
The only changes that SpacePilot Pro works fine in _ABS mode, we have many users on it.
by DeeMAGE
Fri Mar 22, 2013 8:22 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

The only one that we need is an official (tested, 100% functional) information for IDirectInput8 about NAME-PID-DIPROPAXISMODE for all range of your products.
Is that possible to get or no?
Thank you.
by DeeMAGE
Thu Mar 21, 2013 9:39 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

jwick wrote:It acts like a joystick centered at 32k, which is what I would expect.
Yes, we use DIJOYSTATE structure to get the data from it. Do we miss something?
by DeeMAGE
Thu Mar 21, 2013 8:45 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

jwick wrote:_REL. OK. I'll go edit those incorrect posts....
Well if you look at my initial post, SpacePilot PRO does not work in REL mode, it works fine in ABS only...
by DeeMAGE
Thu Mar 21, 2013 8:10 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re:

jwick wrote:You have to use DIPROPAXISMODE_ABS for the SpacePilot PRO.
jwick wrote:You do have to use DIPROPAXISMODE_REL for SPP, SMP, SN, SE and future devices.
So which mode do we have to use, ABS or REL?
by DeeMAGE
Wed Mar 20, 2013 9:11 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

It just rotates all the time even if the user isn't touching it.
Works fine in DI8ExamplePoll.exe example with DIPROPAXISMODE_REL.
by DeeMAGE
Wed Mar 20, 2013 5:57 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

jwick wrote:SpaceMouse Pro PID = 0xc62b
Use DIPROPAXISMODE_ABS. (Correction (21-Mar-2013): use DIPROPAXISMODE_REL)
Thank you for that.
The problem reported by our user that it did rotation all the time (DirectInput only).
Do we need some additional settings for that model, or it's a bug somewhere?
by DeeMAGE
Wed Mar 20, 2013 4:07 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Re: DirectInput Programming Examples

What about SpaceMousePro PID? Does it work in _ABS mode or you have additional changes?
Thanks.
by DeeMAGE
Thu Nov 11, 2010 7:49 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

Okay, if we should check DIPROP_INSTANCENAME, could you list here the possible strings that will match to devices operating in old DIPROPAXISMODE_REL mode?
Thank you.
by DeeMAGE
Thu Nov 11, 2010 7:44 am
Forum: Developer's Forum for Windows
Topic: SpacePilot Pro doesn't work with DirectInput
Replies: 1
Views: 5776

You can erase this topic due to it was solved in "DirectInput Programming Examples". Thanks!
by DeeMAGE
Thu Nov 11, 2010 5:29 am
Forum: Developer's Forum for Windows
Topic: DirectInput Programming Examples
Replies: 45
Views: 102279

jwick wrote:You have to use DIPROPAXISMODE_ABS for the SpacePilot PRO. (Correction (21-Mar-2013): use DIPROPAXISMODE_REL)
That is! But do we need _ABS for SpacePilot only?
Can you provide an official information on that.
Thanks!