Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 10:35:15 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-current@FreeBSD.ORG, h.schmalzbauer@omnisec.de
Subject:   Re: moused linear acceleration drops
Message-ID:  <200706150835.l5F8ZFqj061944@lurza.secnetix.de>
In-Reply-To: <200706150941.03174.h.schmalzbauer@omnisec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706150835.l5F8ZFqj061944>