I am apparently a retard. Turns out my mouse wasn't dying, the cord had just come loose in the back. Ugh, I am so stupid...