I never mentioned that imo. But if i did, i wouldnt put in on github i want to make it to work with my 2nd hand hori pad fps4 controller as well, but its a bit diffetent to the sony controller (however it works when you connect it straight to the ps4 so something to find out.
Making it work without genuine controller need some serious hacking or cloning keys.. Both violating sony's (copy)rights so i wont burn my hands on that
I dont know, if this can be of any help to get further, or if you have seen it before https://www.psdevwiki.com/ps4/DS4-BT
but i hope it can help in some way
That link you gave me was quite useful, but i already found it by another URL, almost identical information.
What bothered me is why the Hori FPS pad4 did not work as Authentication device
I made a special USB cable and sniffed on the D- and D+ lines, parsed the signals and made a Hori PAD 4 emulator.
Strange thing is that now it keeps working (even after 17 mins) while doing nothing different like i did with the G29 emulation.
The only things i changed were the USB (config) descriptors, etc.
A bit offtopic but: The F1/F2 replies come without a valid CRC (they are 00 00 00 00). However the F1 replies still follow the layout described in the link above.
P.S. Another banggood HUB did not work for me and the sitecom requires controller in PORT1, wheel in PORT2. Although, i think this is more because of a sloppy software implementation rather then a non working HUB.
i couldn't find the exact same model as yours on aliexpress... but i found this https://www.aliexpress.com/item/CHUYI-U ... 33777.html
Which is quite small too, i do hope, that it being usb 3.0 means it has a better hub ic
@Mysli0210 Nice, i think it will do the job, as a USB 3.0 hub will support legacy USB 1.1 (used for controllers/wheel). let me know if you have any issues. Sometimes a large hub (not in this case) having e.g. 7 ports are built with 2 USB hubs were the second chip uses a port of the first hub. Then you need to initiate another HUB in the sources.
@mohamed-raad: The Atmega32U4 isn't capable of being USB Host, which is needed for communicating with the wheel and controller. You only options are a dedicated USBHost-to-SPI chip or some microcontroller containing both an USB host (or OTG) controller and a peripheral controller.
For the tutorial, I need to write down. The sources at the moment are using an ugly hack for debugging which need you to alter a settings.h file. I would rather change the code so that this hack is not needed anymore. Any suggestions?