Home
ESP32-S2/S3 as USB game controller? No problem
After several hours of trying to make sense of the TinyUSB implementation in the Arduino ESP32 library, I finally made it.
I -script kiddy like- used an existing library and created a new one (Hey? Where's my PhD in liberal arts? ;) )
I took Matthew Heironimus' great Arduino Joystick library, added a few lines of code, removed a few files and brute forced me through it.
At one point the ESP32-S2 I used really reported itself as joystick to my laptop.
Long story short:
Tweaking and testing led to the final result, about I have more information here