This dialog will pop up if you click on "Reset To Defaults":
This dialog allows you to reset the current joypad configuration to one of the default configurations. There are two default configurations defined: Default joystick configuration and Default keyboard configuration.