Logictech USB HID controller message
Posted
by rross
on Stack Overflow
See other posts from Stack Overflow
or by rross
Published on 2010-06-10T01:46:53Z
Indexed on
2010/06/10
1:52 UTC
Read the original article
Hit count: 365
I have a Logitech game controller(http://www.amazon.com/Logitech-Dual-Action-Game-Pad/dp/B0000ALFCI). I'm using c# and Microsoft's HID driver to track what buttons are being pressed. Each button press sends a Byte Array that has 8 values. The problems is that I don't know what those 8 value represent. Here is an example:
0, 128, 126, 127, 130, 24, 24, 0, 4, 252
0, 128, 126, 127, 130, 40, 40, 0, 4, 252
0, 128, 126, 127, 127, 72, 72, 0, 4, 252
0, 128, 126, 127, 127, 136, 136, 0, 4, 252
Those are the values of the Byte Array for button press 1, 2, 3, 4 respectively. I see where the values are changing, but I'm unsure what they represent. I'm unable to find any specs on Microsoft HID driver. Can someone point me in the right direction?
© Stack Overflow or respective owner