-
Notifications
You must be signed in to change notification settings - Fork 364
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
Fix 8BitDo SN30 Pro+ Bluetooth X button mapping (udev) #939
Fix 8BitDo SN30 Pro+ Bluetooth X button mapping (udev) #939
Conversation
Corrected udev mappings for the 8BitDo SN30 Pro+ in xinput bluetooth mode. Previously input_b_button was mapped to the right controller button, etc, causing PlayStation games to have Square/Triangle and Cross/Circle swapped. Settings for the BT_B.cfg were already correct.
I think I ran into this issue, and thought I was crazy. Thanks for assuring I'm not insane. |
@bagelbyheart As per #936 , should the Menu Toggle button be 12 too? |
I'm not actually sure. I tried to check, and while Lakka is definitely recognizing the "Home" button on the controller, it won't let me map it to any input, instead it's treating it like backing out of input selection. I was able to map it to "Hotkey Enable" where it appears as |
FWIW, I don't have one myself to check, but the SN30 Pro+ and the SN30 Pro are fairly different (e.g., the Pro+ has analog triggers and the Pro doesn't). The Pro+ is actually more like the Pro 2 in terms of features and appearance. (Not sure if that translates into similar button numbering or not.) |
Though I guess the Pro 2 also uses 12 for its dinput menu button, so maybe 12 is actually right for the Pro+ too? |
This commit screwed up the mappings for me. Are you sure you had your controller properly updated? They no longer match retropad positions with my controller. I'm on firmware version 6.01 and https://hardwaretester.com/gamepad correctly identifies face button positions, while your modified config has them reversed. |
Which Mode are you using? |
Xinput, via X+start |
I'll check my controller firmware when I get home, looks like there's a firmware updater and the ultimate software might tell me my version. @Sanaki could you check the firmware version on yours as well? |
Firmware version on mine is 6.01. I know with other 8bitdo controllers mappings have changed on a few updates, the same may have happened with this one. |
I'll verify that is what's happening, if so it should be an easy revert, and I'll add a comment to the config file explaining for other people that might "fix" it down the line =) |
Started on firmawre v3.02. My lakka install still has the old mapping. input_b_btn = "0"
input_y_btn = "2"
input_a_btn = "1"
input_x_btn = "3" Confirmed still acting up. If I test the control mapping within Valkyrie Profile Cross and Circle are swapped as are Triangle and Square. I then updated to firmware v6.01 and tested again. I still see the swap between Cross/Circle and Triangle/Square. @Sanaki, is it possible that you have a profile applied via the 8BitDo Ultimate software? Mine is set to default and basically demonstrates the same thing I'm seeing, in the software B=A and vice versa. I've attached a screenshot of my setup post upgrade. |
Corrected udev mappings for the 8BitDo SN30 Pro+ in xinput bluetooth mode.
Previously input_b_button was mapped to the right controller button, etc, causing PlayStation games to have Square/Triangle and Cross/Circle swapped.
Settings for the BT_B.cfg were already correct.
Settings for the USB.cfg were already correct.