simoninns / SmallyMouse2

Universal USB to quadrature mouse adapter
100 stars 31 forks source link

Finessing DPI division #20

Open dh219 opened 3 years ago

dh219 commented 3 years ago

This proposed change stops the inverse mouse acceleration effect under DPI division.

Instead of placing a floor of one movement unit output for any movement units input, a pair of static locals track skipped units allowing the divisor to also work where input movementUnits < DPI_DIVIDER.

I believe this makes for a better user experience and increases pointing accuracy at low resolutions.