X-Input controllers (Xbox 360/one, ps3/4 with wrappers) should work out of the box, but D-Input controllers (Like various old Logitechs and ps4/ps4 controllers without wrappers) need an external tool. I'd recommend x360ce over a keyboard mapping tool, since it would allow you to properly use analog sticks.