You could interpolate the positions between the values you can actually record:
Let's say your app is running at 100fps - certainly doable if there isn't much happening graphically or otherwise - record the current mouse position and compare with the last recorded position, then LERP 4 positions in between.
cheers!