Hi, gamepads should work automatically if they're plugged in. This has only been tested on Xbox (xinput) and Playstation (directInput) gamepads, so a third-party controller may or may not behave as expected.
thanks! :)