Right and Left arrow keys control rotation of the spacecraft and the up key fires the engine.
I have always wanted to make a realistic gravity simulator and now I have using the formula g=G(m1+m2)/r^2 except G=1