Added mouse events for player controls.