A win against Arsenal on Tuesday night brought them off the bottom of the table and into the relegation dogfight, with five points separating them in 19th to Bournemouth in 10th.
Asked if the transfer window was a success, Carvalhal said: "Success is winning games. The transfer market is different.
"Both players we brought in, they wanted to come here and that was crucial because we want players to come here and help the team and that will make us stronger.
"Players that are here that have qualities but don't want to be here wouldn't be able to help us.
"It's not just about quality, it's about commitment. This is the biggest thing for me."
On Ayew, Carvalhal added: "Andre is a good solution for us," Carvalhal added. "He is very versatile and can play in different positions.
"He is not exactly a No 10, but he does not lose the ball easily and this kind of player can link the midfield to attack. At the same time he is a threat because he scores goals."