Even though everyone has its own favorite setting this is how I got them.
Code:
Mouse Buttons:
1. Left mouse = Fire
2. Right mouse = Mouse flight
3. Middle mouse = Weapon group 4
4. Extra 1 = Weapon group 1
5. Extra 2 = Weapon group 2
6. Extra 3 = Weapon group 3
7. Extra 4 = Weapon group 5
8. Extra 5 = Weapon group 6
Scroll = Impulse + / -
Keyboard:
A, S, D, W = Strafe Left, Down, Right, Up
G, F = Nanobots, Shield Batteries
B = Tractor beam
C = Countermeasure
Q = Missiles
E = Cruise disruptor
V = Rear View
H = Turret View
O = Scan Cargo
R = Closest Enemy
T = Next Target
X = Reverse
Z = Engine Kill
Tab = Thruster
Del = Barrel roll left
Page Down = Barrel roll right
` (Grave) = Free Flight
0 to 9 = Fire weapon 0 to 9