There will be a in-game menu that will give the user the opportunity to select on the control's settings menu if you are going to use mouse & keyboard or Gamepad. Then if you select the keyboard you can customize your controls. If you select the gamepad then you will be able to select from the default presets (Logitech Dual Action Gamepad / XBOX 360 Gamepad) or you can create and customize your own preset. All the controls are encrypted and saved into a file, so you can load them the next time you open your game.
Here is a short video showing you the Logitech Dual Action Gamepad in action