Open the launcher, and tick the box for "Use native input". See if that helps.
Also, you should have the controller plugged in well before you start the game. Changing input/output devices after program has started is not something you ever want to do. Programs do not update hardware changes on the fly.