matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9957
Posted: 10:38am 03 Feb 2025
The bit I'm stuck with is how the device descriptor maps onto the bits in your sdl coding. In the case of my gamepad the 8 buttons are in byte 5 bits 4,5,6,7 and byte 6 bits 0,1,4,5 The d-pad is pseudo analog in bytes 0 and 1. If you look at the AI print on the other thread - you can interpret the analog dpad and it points to byte 5 and 6 for the buttons but I can't see how to understand which bits are which. Perhaps that is in the sdl info? Have you got a readout for PID E401, VID 081F? you can let me see?