Gyroscope axes are mixed up in Steam

Hell, I somehow switched it to pro controller mode for windows (select+B). I pressed select+Y, the controller rebooted and the axes were detected normally