Rebind Controller Buttons in MacOS

I would like to play some Apple Arcade games on my Mac, but my disability makes it hard with some default layouts. I cannot find an option to change controller buttons in MacOS (ie switch X button with right trigger). You can do it in iOS and iPad OS…
I found some remapping software, but it is either to rebind buttons to keys/mouse clicks, or is not compatible with Monterey…
Any ideas?