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

SDL2: A and B buttons swapped on Switch Pro Controller #1204

Open
DJtheMan2101 opened this issue Nov 17, 2024 · 0 comments
Open

SDL2: A and B buttons swapped on Switch Pro Controller #1204

DJtheMan2101 opened this issue Nov 17, 2024 · 0 comments

Comments

@DJtheMan2101
Copy link

The current profile for the Nintendo Switch Pro Controller on the SDL2 controller driver (sdl2/Nintendo Switch Pro Controller.cfg) appears to have the inputs for RetroPad-A and RetroPad-B swapped, which can be seen easily enough from Remote RetroPad. The Pro Controller's A (right face) button maps to RetroPad-B (bottom), and Pro Controller-B (bottom) maps to RetroPad-A (right).

The issue does not affect any other buttons, and all the labels are in the correct positions (so only the inputs themselves are swapped). Setting input_a_btn = "0" (instead of 1) and input_b_btn = "1" (instead of 0) fixes the issue.

Tested on macOS Sonoma 14.7.1 with RetroArch 1.19.1 (nightly 3d8c981ac). I first noticed it on a self-compiled Linux build from June 2024. Maybe a recent SDL2 update swapped the button mappings?

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

1 participant