Sorry to start this thread up again, but I need help
I went back to the HID code and added some scanning to see how hard it would be to have a generic USB system.
The most important thing I need to sort out is the mapping of a report data packet into values the game can use.
The code I have written looks perfect.
You can see the device has one set of buttons and 6 sets of values.
Reading those values, I can see that they all match to what I expect. They all are the correct size. All the data indices match.
Job done? Well no.
When I look at the actual data I get from the device, between the buttons and Rx I have 7 bits of data that are not used.
I have gone through everything I can find and cannot see anything in the data packets that tells you why.
So I am guessing that 8 bit values have been forced onto a byte boundary. That will fit the data perfectly... but WHY!!!!!!!
It's a fu&*^&%ing bit stream.....
I don'y have anymore devices I can look at to give me more data.
Has anyone got a clue?