Just calculate the angle from the center of the screen to the mouse position.