OtakingGX said:Averaging samples over time would introduce lag between input and seeing it register on the screen. A capacitor will continuously integrate your signal but will induce a 90 degree phase shift. The more samples you take the smoother the motion you'll create, and the larger the time delay. If you leave it out of the hardware and let the programmers do it, they can decide where to trade off smooth movement for lag, or even implement some prediction, so the cursor might not exactly follow your hand when you move quickly, but it's close enough, then it's precise when you move slowly.
With a high enough sample rate, lag is minimized. You see that with optical mice today. When optical mice first arrived on the PC, hard-core cyberathletes complained of lag and jerky motion. Then optical mice continually increased sampling frequency, until today, USB optical mice are superior to PS/2 ball mice.