When Steam is running, it overrides your system controller config by default, by launching the game through Steam it will use your in-game controller mapping for Steam Input rather than the desktop controller mapping.
Steam Input settings should be accessible via Steam settings.