Wrong Controller Mapping

Hello,
I was trying to play Outer Wilds on my PC, so I grabbed my controller (a MAD CATZ model 32266). In the menu, I realized that the A button was mapped to the B button on the controller (among other incorrect mappings). I tried using the controller mapping section in Steam, but it wouldn’t work, so I thought maybe it was an issue with Outer Wilds (since it says my controller isn’t supported). I stopped trying to make it work, then tried playing Rocket League, and faced the exact same issue.

I just installed Fedora 42 KDE, and before that, I was using Manjaro, and it worked fine with Rocket League. I never had any issues with this controller before, so I think it’s probably an issue with Fedora.
I’ve been wanting to buy a new controller for quite some time (an Xbox X/S one), but I don’t know if I’ll face the same issue, so any help is appreciated. :slightly_smiling_face:

Are you use Steam? If so…

In Steam you can configure to use “steam input”.
You should be able to assign the buttons as you want.

After selecting the game page you will see a box for CONTROLLER on the right hand side. Click the “View controller settings” and from there “Enable Stream input”.

Does that help?

I already tried that but it didn’t work, the controller just didn’t work at all when i activated it.

I am using a Microsoft Xbox Elite Wireless Controller Series 2.
It works very well on Fedora and Steam for me, with wired connection.

SDL apparently has built-in support for different controller mappings, and its possible that controller needs a special profile or else it maps oddly.

I’m not sure what to suggest but I’d disable Steam Input or anything affecting the controller (AntiMicro, custom kernel module), manually remap buttons in-game, and make sure that works first (most controllers plug-n-play Linux kernel and do Xinput that’s generally no-frills and should just work).