[PATCH 0/4] HID: magicmouse: improve scrolling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux