Subject: Re: kern/25977: Implement WSMOUSEIO_SSCALE as software scaling
To: None <>
From: Johan Danielsson <>
List: tech-kern
Date: 06/21/2004 10:31:36
Paul Ripke <> writes:

> I have a USB mouse with an annoying feature - the smallest delta the mouse
> returns is 4 in either the x or y axis.  No matter what settings are used
> in X, jumpy behaviour results.  Seeing WSMOUSEIO_SSCALE in the kernel
> source, I implemented it as generic software scaling in the wscons layer.
> I've run the following patch on i386 for some time with no problems.

Isn't it good enough to set the denominator to a fixed number? I would
also add per axis scaling, and allow for zero scaling. This way you
can do "mouse invert" as well as fake your own one axis mouse.