Earlier quoted context omitted.
Curious George here: why are you trying to predict where the mouse is going? :)
Game developers are constantly trying to minimize lag. I have no idea if computers are so fast these days that it is a "solved" problem, but I knew a game developer ages ago who used a predictive mouse model to reduce the apparent lag by guessing where the mouse would be at the time the frame was displayed (considering it took 30 ms or whatever to render the frame).
https://raw.githubusercontent.com/ESWAT/john-carmack-plan-ar...