Use the arrow keys to move the camera and WASD to rotate. Don't mess with zpos!!!
I got the equations from YouTube but otherwise it's all mine. Please report bugs!