libinput/src
Peter Hutterer 75581d5829 Add configuration interface for tap drag-lock
In some applications, notably Inkscape, where it is common to frequently drag
objects a short distance the default to drag-lock always-on is frustrating for
users.
Make it configurable, with the current default to "on".
New API:
  libinput_device_config_tap_set_drag_lock_enabled
  libinput_device_config_tap_get_drag_lock_enabled
  libinput_device_config_tap_get_default_drag_lock_enabled

Any device capable of tapping is capable of drag lock, there is no explicit
availability check for drag lock. Configuration is independent, drag lock may
be enabled when tapping is disabled.

In the tests, enable/disable drag-lock explicitly where the tests depend
on it.

https://bugs.freedesktop.org/show_bug.cgi?id=90928

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-06-23 14:24:29 +10:00
..
evdev-middle-button.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
evdev-mt-touchpad-buttons.c touchpad: mark ALPS touchpads for middle button emulation 2015-06-22 08:12:04 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: disable right-edge palm detection for edge scrolling 2015-06-22 08:07:12 +10:00
evdev-mt-touchpad-gestures.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
evdev-mt-touchpad-tap.c Add configuration interface for tap drag-lock 2015-06-23 14:24:29 +10:00
evdev-mt-touchpad.c touchpad: disable right-edge palm detection for edge scrolling 2015-06-22 08:07:12 +10:00
evdev-mt-touchpad.h touchpad: disable right-edge palm detection for edge scrolling 2015-06-22 08:07:12 +10:00
evdev.c touchpad: mark ALPS touchpads for middle button emulation 2015-06-22 08:12:04 +10:00
evdev.h touchpad: mark ALPS touchpads for middle button emulation 2015-06-22 08:12:04 +10:00
filter-private.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
filter.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
filter.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput-private.h Add configuration interface for tap drag-lock 2015-06-23 14:24:29 +10:00
libinput-util.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput-util.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput-version.h.in COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput.c Add configuration interface for tap drag-lock 2015-06-23 14:24:29 +10:00
libinput.h Add configuration interface for tap drag-lock 2015-06-23 14:24:29 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add configuration interface for tap drag-lock 2015-06-23 14:24:29 +10:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
path.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
path.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
timer.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
timer.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
udev-seat.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00