The mouse was an optical cordless
That makes no difference. The contact inside the mouse, beneath the left button, may not be functioning properly--no matter how the mouse transmits signals to the motherboard, if the signal can't be initiated there'll be no signal. At any rate, did you ever try changing the surface beneath the mouse? Some surfaces reflect or distort the optical pickup. Try a plain piece of paper.