Can't control ground vehicles anymore? Here's a possible fix

I had this bug a while ago. It didn’t last long, but it’s back again.

Whenever I hop in a realistic ground match, I have no control over my vehicle except for aiming and firing the gun. All keyboard functions are unavailable. My tank also started to move even though I didn’t press any key.

I tested the game with three keyboards (including the laptop’s built-in one) with the same results, so it’s not a keyboard issue. I checked the files (Steam), and they all turned out okay.

There is a “fix” to this issue, but it doesn’t always work. Just quit War Thunder and relaunch the game. It works about 50% of the time.

Any advice on how to fix this for good?