This illustrates that there currently are many steam client mouse related issues being worked on.

Set up controller through Steam client.

The software integrated into steam client for handling controllers is called Steam Input and it will make literally any controller work like expected with many additional benefits. Uber slick and highly configurable.

Launch all games through steam client, even if you have to use “add non-steam game” options to do this.