This for the amazing Switch pro controller
Steam settings → General controller settings
Tick these,
-Xbox Config support
-Switch Config support
-Generic Gamepad config support
Then Add “Battle.net” into steam and run.
Voila.
Though in-game controller doesn’t recognize button for rebinding in settings