Ok I found a fix but I don't exactly know how or why it works. So I've had this problem with my mouse many times. and I've tried just about everything the rotating screen updating drivers and yes restarting my computer and waiting ten seconds. none of them worked. however it seemed to just have fixed itself over time, which was strange. but it made sense since the issue would usually occur when my mouse had taken abusive force such as dropping it or making very fast movements with it, leading me to suspect its a hardware problem.
So I decided to take it apart and just gut the whole thing out and take a look (I have very minimal knowledge in computers and electronics) I also decided to treat it as a learning moment seeing how a mouse works and how the buttons and inputs worked. the scroll wheel was the most fascinating.
Anyways my main focus was the tracking laser which to my surprise was actually just an LED in front of a reflector. so I took everything out to get to the reflector looked at it and tried to see any signs of rotation couldn't find any but I noticed it had a slot a bit bigger than the actually reflector so it would move around a bit and I'm assuming when I drop or jerk the mouse it moves which in turn might cause a rotation of the reflection (don't ask me how It's just a guess)
Anyways so I just took the reflector out and not knowing what to do I just put it back in and plugged in the mouse and it worked again idk how. I coulda sworn I just put it in the way I found it I must've stabilized it by accident or brushed of a piece off dust in the reflector idk. but anyways it just worked.
So I guess just take it apart, gut everything out and put it back in ¯_(ツ)_/¯
How to take apart mouse:
http://www.instructables.com/id/Take-apart-an-optical-mouse/
8The Quick fix: rotate your mouse 90 degrees in your hand. – Sam152 – 2010-06-12T12:54:16.427
what platform ? If you have more than one OS, does it happen on one as well as the other ? Have you tried uninstalling and reinstalling the drivers (if you aren't using generic) ? – Rook – 2010-06-12T13:30:11.243