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

[Switch] Incorrect button layout #108

Open
Mefiresu opened this issue Oct 2, 2022 · 5 comments
Open

[Switch] Incorrect button layout #108

Mefiresu opened this issue Oct 2, 2022 · 5 comments

Comments

@Mefiresu
Copy link
Member

Mefiresu commented Oct 2, 2022

Face button (confirm/back) are flipped compared to original release.
Also, X and Y positions on the HUD are inverted.

Original:
original

Decomp:
0000000000000000_2022-10-02_08-44-42-330

@MegAmi24
Copy link
Member

MegAmi24 commented Oct 2, 2022

For A and B you can toggle the confirm/back button flip in settings.ini

@Mefiresu
Copy link
Member Author

Mefiresu commented Oct 2, 2022

Sure, but shouldn't this be the default for the Switch port ?

@Clownacy
Copy link
Contributor

Clownacy commented Oct 3, 2022

The confirm/back button flip option also doesn't work in newer commits: it was disabled a while ago and replaced with Game:faceButtonFlip, which flips both A/B and X/Y, which means that this can't be 'fixed' without getting the X and Y buttons backwards. In my Wii U port, I fixed this in the SDL2 controller code by setting the engine.confirmFlip option when a Switch/Wii U controller is detected.

@Clownacy
Copy link
Contributor

Clownacy commented Oct 4, 2022

A and B are still swapped, but the X and Y positions on the HUD have been corrected in this commit.

@jobukkit
Copy link

jobukkit commented Nov 15, 2023

For A and B you can toggle the confirm/back button flip in settings.ini

On the Mac port I don't have this option in my Settings.ini. I had to set it to true in UserCore.cpp before compiling.

EDIT: Now the option has been added to the file. I'm not sure when that happens.

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

No branches or pull requests

5 participants