Added keys for zooming for gamepad.

Changed computation of the camera distance.