Commands:
rotate the scene with "mousedown while mousemove" (outside
the region of the cube)
"mousedown while mousemove" with Ctrl key transforms the scene
in x and y direction
"mousedown while mousemove" with Shift key transforms the scene
in z direction
left mousebutton over a "side of the rubic" rotates current side clockwise,
right mousebutton counterclockwise
right click
shows a popup menu
take
a look at the source