PC Online - Controller and keyboard not working online

When I try to launch a race online, after the countdown I can’t do nothing because all the commands seem to be locked. So, I have to close the game and launch it again.
It happens even when there is no player and the online race is cancelled.

Anybody knows a way to fix it ?