GYAH! Which Xbox controller is mapped to which button number by Unity is different from one Mac to another! How am I supposed to provide consistent controls?
@peterdrake Had the same problem lately, because I have to use the old inputsystem... I found InControl, which has some mappings online:
https://github.com/pbhogan/InControl/tree/master/Assets/InControl/Source/Unity/DeviceProfiles
I've ended up buying the plugin in the asset store...
Oh, it's even more fun than that: the mapping is different within Unity vs on itch + WebGL *on the same machine*.