Adds commented code to control the mouse.