One player needs to be the host, one player needs to be the guest. Only the host will have control over the mouse.

See an explanation here