Devlog 2, A breakthrough!
Quick introduction
I’m working on a very janky Switch 2 cloudplay setup:
AYN Thor → Windows → XInput → C# → UART → Raspberry Pi Pico → fake Switch Pro Controller → Switch 2
After around 3 days of work the Switch 2 could;
- Identify the controller
- Complete the handshake
- Send bytes and other useful info to my Pico
But it would never actually connect with the Switch 2, I kept messing with the code, debugging, changing bytes I even asked AI but I never got the answer.
Then I had an epiphany,
What if all this time my code was working just fine and I wasn’t testing it correctly, so I sent a singular button press with right_buttons |= (1 << 3); and suddenly. It connected. Apparently, the Switch was waiting for an actual input report before considering the controller fully connected.
All that work and time just to mess up my entire codebase. At least I learned a little more about C and hexes 😓😓
What is next?
I think the project is close for a v0.1 release, I’ll need to;
- Fix the A button input
- Clean up the codebase from all the testing mess
- Test
- Build the application
In the future I want to build a special application instead of relying on OBS, reduce latency and add rumble + gyro support.
Comments 2
this is very cool and I like it
you’re so talented!!!
Sign in to join the conversation.