moused linear acceleration drops

Oliver Fromme olli at lurza.secnetix.de
Fri Jun 15 08:35:23 UTC 2007


Harald Schmalzbauer wrote:
 > Oliver Fromme wrote:
 > > Harald Schmalzbauer wrote:
 > > > But the linear ac(de)celeration seems to 'drop' moving information.
 > > > I have a 1600dpi mouse which is far to quick by default.
 > > > When I use 'xset m 1/3' the speed is fine and also every smallest
 > > > movement gets recognized.
 > > > When I use '-a 0.33' with moused (besides -A 1.6/2 with xset m 1) small
 > > > (and slow) movement's are not reported. I have to move at some minimal
 > > > speed to get the cursor moving.
 > > > So it seems that info gets droped.
 > > 
 > > It's probably a rounding problem.  I'll have a look at it.
 > > My mice and trackballs aren't that sensitive, so I didn't
 > > notice such a problem.
 > > 
 > > I assume that there's no such problem if you don't use the
 > > new -A option, right?  (i.e. no regression, I hope.)
 > 
 > Hmm, if I don't use -A (dynamic acc) the problem still persists, the linear 
 > acceleration is droping info, hence the culprit. I don't have a problem with 
 > dynamic acceleration when the linear is disabled, so it can't be a regression 
 > by your patch I think.

My patch only added -A (dynamic acc) but did not touch the
algorithm of -a (linear acc).  If you observe the problem
when using -a but not -A, then there are two possibilities:

1.  My patch _did_ introduce a regression with -a, or:
2.  The problem already existed before my patch.

I'll try to find out and fix it.  (My free time is limited
today, though, so it might take a little longer.)

By the way, what kind or model of a mouse do you have
there?  Maybe I'm able to get hold of one, so I can
reproduce the problem more easily.  The most sensitive
mouse in my collection seems to have only 600 dpi.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"I made up the term 'object-oriented', and I can tell you
I didn't have C++ in mind."
        -- Alan Kay, OOPSLA '97


More information about the freebsd-current mailing list