Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not recognized as Switch Pro controller #12

Open
Invictaz opened this issue Apr 4, 2024 · 2 comments
Open

Not recognized as Switch Pro controller #12

Invictaz opened this issue Apr 4, 2024 · 2 comments

Comments

@Invictaz
Copy link

Invictaz commented Apr 4, 2024

There is no easy way to remap in the code without compiling and no WebUI to change anything.
So it would be best to output as a real Switch Pro controller.

As my real Switch Pro controller is in repair now I investigated with an 8bitdo Pro 2 Adapter which also outputs as a real Switch Pro controller, see here:

wiredopposite/OGX-Mini#5 (comment)

I hope the code can be adapted to have real Switch Pro output, as after all PicoSwitch is an adapter to work on a Switch.

311896486-39541a05-6089-43ed-ac52-9b89e27d54c0

@juan518munoz
Copy link
Owner

Does emulating as a pro controller allow the possibility to remap buttons with the switch UI? If so, please provide a video demonstrating the procedure.

@bmelanman
Copy link

Hello! I stumbled across this issue while looking around for rumble info (see issue #13 if interested) and I just so happened to be in a position to test this.

TL;DR: I can confirm that proper emulation of a Pro controller enables remapping in the Switch UI (and the remapping actually works, too!).

I used a copy of retro-pico-switch that I modified to use picow_ble_controller, which allowed me to connect an Xbox controller to my switch. The retro-pico-switch project does whatever trickery is necessary for the Switch to think it's a legit Pro controller, which enables remap support. I remapped the screenshot button to be the home button, and there seemed to be no issues.

I spent ~30 mins to see if I could easily modify the SwitchDescriptors.h file hoping for a trivial fix, but unfortunately I have no clue what I'm doing, so someone else will have to figure the rest out (or wait about a month and hope I remember to come back to this!)

Let me know if anyone needs more info, hope this helps! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants