Switch Pro Controller not working in game (Rocket League)

Hello,
I am trying to use my Switch Pro Controller in Rocket League.
I remember it working without any issues on Arch Linux, with legendary. Now, I am using Heroic on Linux Mint 20.3.
When I use the controller via bluetooth or USB, it is recognized in Heroic and I can use it to move around the menus. It's also working in wine control.
However, when I launch the game, none of the buttons do anything.
I have tried using various wine versions, such as Wine-GE-Proton, system Wine (7.22 I think), and older Proton versions, but it is still not working.
What should I do to make it work?
Was this page helpful?