Does the game support the controller? When you’re running the game via Steam, it uses its controller service(?). When you are running the game somewhat directly this part will not be running. So if the game does not support your controller directly, you might need to find a way how to make it recognize it