Can't right click in game unless mouse is stationary

Yes. I have tried 3 different kinds of mouse, including a brand new gaming mouse. I have tried in three separate USB ports as well.

Could it be something with Windows 10?