A new Xbox controller profile for the current build:
Or copy this text into a existing .xml:
<!-- Ship translation -->
<Input Event = "ShipZ" Reverse="true" Type = "Axis" />
<Input Event = "ShipForward" Keys ="Joystick0Axis4"/>
<Input Event = "ShipBackward" Keys ="Joystick0button4"/>
<Input Event = "ShipX" Type = "Axis" />
<Input Event = "ShipLeft" />
<Input Event = "ShipRight" />
<Input Event = "ShipY" Type = "Axis" Reverse="true" Keys = "Joystick0Axis1"/>
<Input Event = "ShipUp" />
<Input Event = "ShipDown" />
<!-- Ship orientation -->
<Input Event = "ShipYaw" Keys = "Joystick0Axis2" Type = "Axis" />
<Input Event = "ShipYawLeft" />
<Input Event = "ShipYawRight" />
<Input Event = "ShipPitch" Keys = "Joystick0Axis3" Type = "Axis" />
<Input Event = "ShipPitchUp" />
<Input Event = "ShipPitchDown" />
<Input Event = "ShipRoll" Keys ="Joystick0Axis0" Type = "Axis" Reverse = "true"/>
<Input Event = "ShipRollLeft" />
<Input Event = "ShipRollRight" />
<!-- Head orientation in cockpit mode -->
<Input Event = "Head" Keys = "Joystick0Button13" />
<Input Event = "HeadReset" Keys = "Joystick0Button13" DoubleTap="true" />
<!-- Ship controls -->
<Input Event = "PrimaryFire" Keys = "Joystick0Axis5" />
<Input Event = "SecondaryFire" Keys = "Joystick0Axis5" />
<Input Event = "Turbo" Keys = "Joystick0Button5" />
<Input Event = "ToggleReverseFlight" />
<!-- Ship systems -->
<Input Event = "Warp" Keys = "Joystick0Button1" />
<Input Event = "SystemsMenu" Keys = "Joystick0Button11" />
<Input Event = "WeaponsMenu" Keys = "Joystick0Button12" />
<Input Event = "CommsMenu" Keys = "Joystick0Button14" />
<Input Event = "SwitchFormation" Keys = "B" />
<Input Event = "Power" Keys = "P" />
<Input Event = "ToggleFrontLights" Keys = "L" />
<!-- Target speed in flight auto assist mode -->
<Input Event = "TargetSpeed0" Keys = "Joystick0Button2" />
<Input Event = "TargetSpeed1" Keys = "2" />
<Input Event = "TargetSpeed2" Keys = "3" />
<Input Event = "TargetSpeed3" Keys = "4" />
<Input Event = "TargetSpeed4" Keys = "5" />
<Input Event = "TargetSpeed5" Keys = "6" />
<Input Event = "TargetSpeed6" Keys = "7" />
<Input Event = "TargetSpeed7" Keys = "8" />
<Input Event = "TargetSpeed8" Keys = "9" />
<Input Event = "TargetSpeed9" Keys = "0" />
<Input Event = "DeltaTargetSpeed" Reverse="true" Type = "Axis" Keys = "Joystick0Button13 + Joystick0Axis1"/>
<Input Event = "IncrTargetSpeed" Keys = "Joystick0Button3" />
<Input Event = "DecrTargetSpeed" Keys = "Joystick0Button0" />
<!-- Targets selection -->
<Input Event = "TargetCenter" Keys = "Joystick0Button8" />
<Input Event = "TargetPrev" Keys = "Y" />
<Input Event = "TargetNext" Keys = "U" />
<Input Event = "TargetClosest" Keys = "G" />
<Input Event = "TargetNone" Keys = "Backspace" />
<!-- View controls -->
<Input Event = "Zoom" />
<Input Event = "ToggleZoom" Keys = "Z"/>
<Input Event = "CameraCockpitMode" Keys = "F1" />
<Input Event = "CameraExternalMode" Keys = "F2" />
<Input Event = "ControlScheme" Keys = "F4" />
<Input Event = "NextCameraMode" />
<!-- Other game systems -->
<Input Event = "Leaderboard" Keys = "Joystick0Button6" />
<Input Event = "MainMenu" Keys = "Joystick0Button7" />
<Input Event = "KeyboardMap" Keys = "F9" />
<Input Event = "Screenshot" Keys = "F11" />
<Input Event = "Debug" Keys = "F10" />
<Input Event = "Debug_RenderHUD" Keys = "F3" />