Arduino code using the mbed core that runs on a Pi Pico (2040) to emulate a USB HID Joystick
Pirmarily developed to use and ExpressLRS receiver and a HID Joystick for Sim use!
Simplified version incl. STL data for 3D printing. No level shifter (5 -> 3.3V) necessary. UF2 installation see video here: https://www.youtube.com/watch?v=Zuhfbobgm5A (start from 11:45). I used pico.uf2 (firmware folder) for Pi Pico 2040-W. Works excellent with Radiomaster TX16S and Velocidrone.
ELRS 2.4Ghz receiver: https://www.modell-hubschrauber.at/advanced_search_result.php?keywords=GEPRC+ExpressLRS+%2F+ELRS+2%2C4GHz+Empfänger+NanoSE
Thanks to https://github.com/mikeneiderhauser