libinput/src
Peter Hutterer 69449ca854 filter: require minimum acceleration factor of 0.3
For really slow motions, the previous acceleration factor would go down to
effectively zero. So the slower the mouse motion was, the more it would be
slowed down which made the mouse at low speeds almost unusable.

Cap the minimum acceleration at 0.3 which provides a predictable slow motion
for the cursor when high precision is required.

New/old acceleration functions comparison:

  ^
  |               /
  |              /
ty|    _________/
  |   / /
  |  / /
  | / /
  |/ /    <----- new minimum accel factor
  | /
  |/___________________>
      tx

i.e. the general shape is maintained, but it doesn't go to zero anymore. The
functions aren't parallel, the new shape is slightly flatter than the previous
one and they meet at the point where the functions flatten for the threshold
(tx/ty). ascii art has its limits...

https://bugzilla.redhat.com/show_bug.cgi?id=1227039

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-06-11 07:19:25 +10:00
..
evdev-middle-button.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
evdev-mt-touchpad-buttons.c touchpad: on non-resolution touchpads, use 30% as maximum clickfinger spread 2015-06-03 14:43:58 +10:00
evdev-mt-touchpad-edge-scroll.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
evdev-mt-touchpad-gestures.c touchpad: Only use slot 0 deltas for 2fg scrolling on semi-mt touchpads 2015-04-27 11:08:52 +10:00
evdev-mt-touchpad-tap.c touchpad: reduce tap-n-drag timeout to 300ms 2015-06-02 13:24:36 +10:00
evdev-mt-touchpad.c touchpad: restart the motion filter on touch begin 2015-06-11 07:19:25 +10:00
evdev-mt-touchpad.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
evdev.c evdev: remove direct checks for INPUT_PROP_POINTING_STICK 2015-06-03 09:30:32 +10:00
evdev.h evdev: remove tag_device from evdev_dispatch_interface 2015-06-03 09:30:28 +10:00
filter-private.h touchpad: restart the motion filter on touch begin 2015-06-11 07:19:25 +10:00
filter.c filter: require minimum acceleration factor of 0.3 2015-06-11 07:19:25 +10:00
filter.h touchpad: restart the motion filter on touch begin 2015-06-11 07:19:25 +10:00
libinput-private.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput-util.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput-util.h Add xasprintf to avoid use of undefined pointer values 2015-06-01 08:47:14 +10:00
libinput-version.h.in Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
path.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
path.h path: store the udev device instead of just the devnode 2014-11-25 16:33:01 +10:00
timer.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
timer.h timer.h: Add #include libinput-util.h 2014-06-11 10:30:12 +10:00
udev-seat.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00