9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Mouse acceleration under Plan 9
Date: Thu,  2 Aug 2012 10:48:19 -0400	[thread overview]
Message-ID: <187a6349f2ca9d4e435309038e567160@kw.quanstro.net> (raw)
In-Reply-To: <20120802114854.35f1bfb6@wks-ddc.exosec.local>

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



  reply	other threads:[~2012-08-02 14:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02  8:57 Brian Vito
2012-08-02  9:09 ` Rudolf Sykora
2012-08-02  9:48 ` David du Colombier
2012-08-02 14:48   ` erik quanstrom [this message]
2012-08-03  1:21     ` cinap_lenrek
2012-08-03  1:28       ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=187a6349f2ca9d4e435309038e567160@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).