Search found 7 matches

by matilla
Mon Feb 21, 2011 8:30 am
Forum: Developer's Forum for Windows
Topic: RawInput & Keys values
Replies: 4
Views: 46592

Thanks,

However, I'm not able to understand the code, what do sizeHid, nMaxCount variables mean?

I'm not using Visual studio, so I would like to migrate this code to my system.
Thanks in advance

matilla
by matilla
Fri Feb 18, 2011 5:18 am
Forum: Developer's Forum for Windows
Topic: RawInput & Keys values
Replies: 4
Views: 46592

Please any solution? I'm at the same point
by matilla
Mon Jul 26, 2010 9:22 am
Forum: Developer's Forum for Windows
Topic: RawInput & Keys values
Replies: 4
Views: 46592

RawInput & Keys values

Hi, I developed an application with one SpacePilot device that works properly thanks to your help. The only thing I don't understand is the behaviour of the keys. I mean, when the action I do is just click the key 1, I receive a message (event->data.hid.bRawData[0] == 0x03) where its value is 1. How...
by matilla
Fri May 14, 2010 5:15 am
Forum: Developer's Forum for Windows
Topic: RawInput and calibration
Replies: 12
Views: 25337

I'm sorry, I don't understand what you mean. In the SDK example I can get the rotation angle, there is no problem. However, in the rawinput example I can get the rotation values but not the angle (at least looking at these bytes): short* pnData = reinterpret_cast <short> (&event->data.hid.bRawDa...
by matilla
Fri May 14, 2010 12:26 am
Forum: Developer's Forum for Windows
Topic: RawInput and calibration
Replies: 12
Views: 25337

Thanks,

Using the SDK, I can get the rotation angle. How could I get this with rawinput ?

aitor
by matilla
Thu May 13, 2010 12:56 am
Forum: Developer's Forum for Windows
Topic: RawInput and calibration
Replies: 12
Views: 25337

Thank you, Yes, I think right now I have a problem with the compiler because adding the headers (hidsdi.h, ...) I get some conflicts. However, there is one thing I don't understand using rawinput. This is the value of the limit for each direction. It's different depending on the axis but always clos...
by matilla
Wed May 12, 2010 5:10 am
Forum: Developer's Forum for Windows
Topic: RawInput and calibration
Replies: 12
Views: 25337

Hi,

I'm in the same situation, rawinput works fine but i'd need a device calibration.

I'm trying to use the HID example with C++ Builder without success.
I added to my include directory the wdk headers needed although It didn't work.
Do I need to add any library?

thanks,
matilla