I always connect gamepad before launching the game. Don't sweat it, even AAA games are extremely weird with gamepad support on PC, so I'm used to it taking time to figure out.
Which ones do you have? Are they Xinput or Direct input? Do you connect via Bluetooth, hyperspeed or vire? Is Steam running when you connect?