The z-axis extends out from the center of the screen.

Note that pressing an arrow key down continuously will not rotate the surface. The surface is rotated once per key press.