for arduino side check https://github.com/appdevelpo/arduino-bluetooth-gamepad
a simple program that receive arduino controller data and simulate it as xbox controller with rust
need to install vbus
check https://github.com/ViGEm/ViGEmBus/releases
I use cemu-hook to run gyro which can be run in most switch game emulator
The code is now only runs on baudrate 115200 and com12,you con reconfig it and compile again