The preferred solution actually moves my arm around a bit so that it works in a physical office. For remote work, there are so called "mouse jigglers" [1], but those do not require sunglasses to work.
I wrote a small C utility that avoids all 3 problems and now I couldn't live without it!