RSDKv5-Decompilation icon indicating copy to clipboard operation
RSDKv5-Decompilation copied to clipboard

[Switch] Incorrect button layout

Open Mefiresu opened this issue 1 year ago • 5 comments

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

Mefiresu avatar Oct 02 '22 07:10 Mefiresu

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

MegAmi24 avatar Oct 02 '22 17:10 MegAmi24

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

Mefiresu avatar Oct 02 '22 18:10 Mefiresu

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 avatar Oct 03 '22 20:10 Clownacy

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

Clownacy avatar Oct 04 '22 12:10 Clownacy

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.

jobukkit avatar Nov 15 '23 13:11 jobukkit