The reason behind this issue appearing is most probably because of any third-party controller support. If this issue happens whenever you try to play those Steam games, you must fix it immediately. To get rid of it, access the Controller settings section and check whether there is any third-party controller support or not. If there is any, uncheck it and relaunch Steam without any delay. Hopefully, there will not be any controller input-related issues anymore while you play the Steam games.