...
Before loading a default profile, make sure you back up any existing profile using the option Settings->Controls->Save Profile. These profiles will then be listed in the Custom section of the load profile menu. Also make sure your devices are listed in the right order under Settings->Controls->Manage Controllers/Joysticks.
Setting up your own profile
Most options related to Joystick/Controller input can be found in this section of the Controls menu:
...