As the title says, the PowerA Switch wired controller, while it is detected by the game, seems to have the wrong mappings for the face buttons. What's even weirder is that it's not even using the standard Xbox layout, either. The only one that's correct is B. Otherwise, Y acts as A, X acts as Y, and A acts as X. Every other button works properly, though.
I've already installed dkms-hid-nintendo and joycond in my Ubuntu system in order to be able to use this controller, and while other games tend to detect the controller using the Xbox layout, it's nothing button remapping or the Steam option for using the Nintendo layout can't fix. No other game detects the face buttons the same way CrossCode does, though. I'm not running Steam while trying to run this game, either, so it shouldn't be overriding anything regarding controller support. I even installed a mod that adds extended controller support, basically allowing you to add Switch-style button icons to the UI, among other things, but the buttons are still incorrect.
I would appreciate any help I can get regarding this issue.