libretro / libretro/RetroArch

macOS RA 1.15 Buttons swapped

Open
#15,077 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform: osx
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

After updating from 1.14 to 1.15 I had to remap the Controller Buttons, now the ok/cancel buttons are swapped.
Tried with Nintendo Switch Pro Controller

edit: In game everything is chaotic. Buttons are weirdly remapped and do completly different things than what is set up.

edit2: Ignore previous edit, that was because old 1.14 style overriden controls. But in Nintendo DS core DeSmuME I have to swap A-B and X-Y
I guess it's because Nintendo and MS have those labels swapped and the new msi driver handles this differently than the old thing?

Expected behavior

If the "Menu Swap OK and Cancel Buttons" option is disabled, it should be Japanese (A = OK and B = Cancel on the Switch Pro Controller) and vice versa if it's enabled.

Actual behavior

Now it's the actual oposite of what the description states.

Steps to reproduce the bug
  1. Use Nintendo Switch Pro Controller
  2. Map the Buttons in Settings/Input/Port 1 Controls/
  3. Check the option in Settings/Input/Menu Controls/Menu Swap OK and Cancel Buttons
Bisect Results

1.14 Stable had the expected behavior
1.15 swapped it

Version/Commit

RetroArch 1.15
Build Date Mar 11 2023
Git Version: GIT_VERSION
Port 1 Device Name: mFi Controller

Environment information
  • OS: macOS 13.2.1
  • MacBook Air M1 (2020)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a Nintendo Switch Pro Controller on macOS, following Settings/Input/Port 1 Controls and Settings/Input/Menu Controls. Trace the menu button-swap and controller mapping behavior, then verify that disabling the option gives A = OK and B = Cancel while enabling it reverses them.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.