I'm trying to emulate a wired controller that is normally connected to the console through USB.
I got dumps of communications which are just bytes, whose "phase" is either IN (from the device to the host), OUT (from the host to the device), or CTL (control? I guess that's for the descriptors stuff).
I'd like to get these raw bytes and ideally transmit them to my computer (I own a UART-USB bridge, so I can connect it to my arduino's pins and send data through it), and then I would be able to send back bytes in order to initialize the connection.
I thought there was a bridge between the USB cable and the pins 0 and 1 of the Arduino, but I tried connecting my UART bridge to it and got nothing when reading from it - shouldn't I be able to read at least the descriptors-related communications when I connect my arduino to another host with my bridge on the pins 0 and 1?
I've tried looking into libs like LUFA to emulate HID devices, but it seems very complicated since I just want to access the raw bytes sent from the host, and react to them - I think that should be possible, but I don't see how.