Logictech USB HID controller message
- by rross
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?