libinput/src
Hans de Goede 07b20dcce6 touchpad: Only use slot 0 deltas for 2fg scrolling on semi-mt touchpads
Some semi-mt model touchpads have a better accuracy for slot 0 then for
slot 1 (they only have 2), so on semi-mt models only use the movement of
the touch in slot 0 for 2fg scrolling, rather then the average movement of
the 2 touches.

This fixes 2fg scrolling being choppy / jumpy in some cases.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=89683
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Also needed: change the touchpad scroll source test to use more separate
events. The current litest semi-mt touch implementation only moves the first
touch on every second move. With 5 movements this isn't enough to fill the
motion history and generate events, so double it to 10 so we're guaranteed to
get scroll events.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-04-27 11:08:52 +10:00
..
evdev-middle-button.c evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
evdev-mt-touchpad-buttons.c touchpad: allow BTN_LEFT in clickfinger mode without touches 2015-04-27 09:04:27 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: add state debugging to the edge scroll state machine 2015-04-09 07:52:19 +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: introduce MULTITAP for multi-tap-and-drag 2015-04-17 12:59:22 +10:00
evdev-mt-touchpad.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
evdev-mt-touchpad.h touchpad: introduce MULTITAP for multi-tap-and-drag 2015-04-17 12:59:22 +10:00
evdev.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
evdev.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter-private.h filter: switch to normalized_coords 2015-03-19 12:06:48 +10:00
filter.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
libinput-private.h Add middle mouse button emulation config options 2015-04-17 12:49:43 +10:00
libinput-util.c evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02:00
libinput-util.h evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02: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 Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.h Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +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 path: make sure udev devices are initialized before usage 2015-02-04 08:14:50 +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 a helper function for clock_gettime 2014-09-18 11:30:15 +10:00
timer.h timer.h: Add #include libinput-util.h 2014-06-11 10:30:12 +10:00
udev-seat.c udev: fix a race condition if a device disappears before we get a handle 2015-02-19 06:56:23 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00