That is pretty strange. Yeah, check the batteries, kinks in the lead, the plug, maybe broken pins in the end of the plug? If it just did it suddenly then its probably not software; maybe the mouse is busted? Do you have another to try out?
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.