Mouse events are detected. It is set so only the left button works, and
the coordinates of the event are captured.