P to play/pause. LEFT or RIGHT to change direction of rotation. The source code can be found on GitHub.