Nintendo Button Mapping Reversed in 4.3?

Godot Version

4.3

Question

Nintendo controller mapping seems to be reversing A/B and X/Y input compared with what is for Nintendo controllers. In the input map they are correctly labeled to be swapped compared with the Xbox button mappings, but when I have either my official Nintendo Switch Pro Controller or Nintendo Switch wireless SNES controller these buttons are reporting reversed input compared with what I’ve seen previously on 4.2.

Repro:
Connect Nintendo bluetooth controller.
Map button marked (Nintendo A) to action.
Note in gameplay, pressing button B on Nintendo controller activates button mapped to A

These mappings are from [A, B, X, Y] to [B, A, Y, X] respectively.

I’m reproing this on macOS 14.6.1 on both an ARM iMac, and Intel MacBook Pro. As well as on iOS 17.5.1 on an iPhone 15 Pro.

This doesn’t seem related to an OS change, as other applications using these controllers haven’t seen the same change in behavior. And other non-Nintendo controllers that I have maintained their button mappings from 4.2.

1 Like

Godot leverages an 3rd party, open source database for button mapping.

See here for details:

If you find a mistake please report an issue for the project:

If this is a non-standard Nintendo controller (i.e. it’s not registered in the database) it could be defaulting to a generic button map.

1 Like

Or it could be because of this issue