linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chase Douglas <chase.douglas@canonical.com>
To: linux-input@vger.kernel.org
Subject: [PATCH 0/4] HID: magicmouse: improve scrolling
Date: Wed,  2 Jun 2010 10:28:24 -0400	[thread overview]
Message-ID: <1275488908-23624-1-git-send-email-chase.douglas@canonical.com> (raw)

I love my Magic Mouse, and Michael Poole did a great job creating a new
driver for it in Linux. However, the scrolling behavior in Linux has
been a pet peeve of mine. I am proposing a few patches to change the
behavior in the following ways:

* Scroll on entire surface of mouse instead of an artificial "middle"
  area.
* Fix up a scroll state math issue (trivial).
* Add a param for enabling scroll acceleration, but disable it by
  default. It's unique to magicmouse I believe, and isn't intuitive.
* Add a param for scroll speed (i.e. distance a touch needs to travel on
  the surface to produce a WHEEL event). Clean up acceleration code as
  well because it is tightly integrated with the speed logic.

After these four patches, setting scroll_speed to 48, and setting
ConstantDeceleration to 2 in xorg.conf, I have found my mouse to be much
better.

Thanks,

-- Chase

 drivers/hid/hid-magicmouse.c |   49 +++++++++++++++++++++++++++++------------
 1 files changed, 34 insertions(+), 15 deletions(-)

             reply	other threads:[~2010-06-02 14:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02 14:28 Chase Douglas [this message]
2010-06-02 14:28 ` [PATCH 1/4] HID: magicmouse: scroll on entire surface, not just middle of mouse Chase Douglas
2010-06-02 14:28 ` [PATCH 2/4] HID: magicmouse: properly account for scroll movement in state Chase Douglas
2010-06-10  1:25   ` Michael Poole
2010-06-16 15:03     ` Chase Douglas
2010-06-16 15:05       ` Jiri Kosina
2010-06-02 14:28 ` [PATCH 3/4] HID: magicmouse: disable and add module param for scroll acceleration Chase Douglas
2010-06-02 14:28 ` [PATCH 4/4] HID: magicmouse: add param for scroll speed Chase Douglas

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=1275488908-23624-1-git-send-email-chase.douglas@canonical.com \
    --to=chase.douglas@canonical.com \
    --cc=linux-input@vger.kernel.org \
    /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).