I'm currently working on a project using a ps3 controller on Nintendo switch using Arduino.
I already have my R3 recognized as a controller, and I'm basing my project off of "GitHub - shinyquagsire23/Switch-Fightstick: Proof-of-Concept LUFA Project for the Nintendo Switch. Pretends to be a HORI Pokken Pad which only prints Splatoon 2 Posts".
I currently have a serial connection from the Type A port on the arduino communicating my switch, but I'd need another serial port to talk to the ps3 controller. This was I can read inputs from the ps3 controller and output them in a
My question is, can I use a USB hub for this, and if so how do i discern between the input and output. Could I communicate without using the type A port? I've tried tearing apart a mini usb, and connecting the Tx/Rx directly to analog pins, but this spits out numbers without a recognizable pattern. Any other ideas/solutions would be appreciated.
I apologize if this has an obvious answer, I'm pretty new to interfacing with hardware.