From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 2 Aug 2012 10:48:19 -0400 To: 9fans@9fans.net Message-ID: <187a6349f2ca9d4e435309038e567160@kw.quanstro.net> In-Reply-To: <20120802114854.35f1bfb6@wks-ddc.exosec.local> References: <981ee497-8f06-4e31-85da-b9c3a95601ca@j7g2000vbx.googlegroups.com> <20120802114854.35f1bfb6@wks-ddc.exosec.local> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Mouse acceleration under Plan 9 Topicbox-Message-UUID: a764ce4a-ead7-11e9-9d60-3106f5b1d025 On Thu Aug 2 05:50:03 EDT 2012, 0intro@gmail.com wrote: > > If you'll excuse another question from a non-programmer, does Plan 9 > > use a mouse pointer acceleration algorithm (if so, where would it be > > documented?) or is it 1:1? Thanks so much. > > Yes. See mouse(3) and /sys/src/9/port/devmouse.c. however, i've found /hardware/ mouse acceleration to be a mistake. at least some kvm eat or mangle these commands, which motiviated me to consider the issue, and i don't see a reason why the kernel shouldn't just do the acceleration (multiplication) itself. surely one multiply should be of no concern on a 100Mhz+ computer. :-) the code's in the 9atom kernel, fwiw. - erik