feat: add handler for DDR GRAND PRIX controller (BF110)#4
feat: add handler for DDR GRAND PRIX controller (BF110)#4dinsfire64 merged 5 commits intodinsfire64:mainfrom
Conversation
|
Thank you for your PR. I do actually own this device and haven't opened the box until now. it is having trouble enumerating with tinyusb and actually my linux desktop as well, it is seemingly disconnecting itself constantly. This is with the batteries and without. Is this a case of the device works okay in windows, but doesn't in other usb stacks because it's expecting a packet that linux isn't sending? I haven't used any of the official controllers to know, so I thought I'd ask. |
|
I found the issue at hand, and it's annoying in general. HID devices usually have the ReportDescriptor before the endpoint that describes the descriptor in question. However, this device has it after which is aggravating. You can see that in lsusb as the random I have gone into tinyusb and modified it to work with this device, but I need to clean up the code drastically and then push the change upstream so others can take advantage. For now try this attached binary, it works with my controller. |
|
I have pushed the fix upstream, I'll work on integrating this in cleanly later. Let me know how your testing goes. |
…into feat/grand-prix-controller
|
I have changed the code to use bitflags instead of bitwise math to make it read better. Attached is the update that matches the changes I pushed. Let me know if you are happy with it. |
@dinsfire64 Thanks! I'll try it later. |
|
@dinsfire64 Side note: Circle/Cross button is high sensitivity, so 6-panel play may be difficult. |
|
Glad that's working for you, I'll update the compat in the readme, squash and merge. |
close #3
I couldn't build on my environment, so I'm marking it as draft.
We would be happy to assist you with testing using actual device.