1. 14 Aug, 2017 1 commit
  2. 12 Jul, 2017 1 commit
  3. 11 Jul, 2017 2 commits
  4. 03 Jul, 2017 1 commit
    • Peter Hutterer's avatar
      touchpad: add pressure-base palm detection · 25d54b90
      Peter Hutterer authored
      If a touch goes past the fixed pressure threshold it is labelled as a palm and
      stays a palm. Default value is one that works well here on a T440 and is
      virtually impossible to trigger by a normal finger or thumb. A udev property
      is exposed so we can handle this in the udev hwdb and the new tool introduce a
      few commits ago can help finding the palm detection threshold.
      
      Unlike the other palm detection features, once a palm goes past the threshold
      it remains a palm until the touch is released. This means palm overrides any
      other palm detection features. For code simplicity, we don't combine the
      states but merely check for pressure before and after the other palm detection
      functions. If the pressure triggers, it will trigger before anything else. And
      if something else is already active (e.g. edge where the pressure doesn't work
      well) it will trigger as soon as the palm is released.
      
      The palm threshold should thus be chosen with some room to spare between the
      highest finger pressure.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=94236Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      25d54b90
  5. 04 May, 2017 1 commit
  6. 26 Apr, 2017 1 commit
  7. 12 Feb, 2017 1 commit
  8. 09 Feb, 2017 1 commit
  9. 30 Jan, 2017 1 commit
  10. 26 Jan, 2017 1 commit
  11. 20 Jan, 2017 1 commit
  12. 29 Nov, 2016 3 commits
  13. 04 Nov, 2016 1 commit
  14. 20 Jul, 2016 1 commit
  15. 28 Jul, 2015 1 commit
  16. 14 Jul, 2015 1 commit
  17. 16 Jun, 2015 1 commit
  18. 27 May, 2015 1 commit
  19. 22 Apr, 2015 1 commit
    • Hans de Goede's avatar
      evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property · 5c671e03
      Hans de Goede authored
      There is quite a wide spread in the delta events generated by trackpoints,
      some generate deltas of 1-2 under normal use, while others generate deltas
      from 1-20.
      
      It is desirable to normalize trackpoint deltas just like we are normalizing
      mouse deltas to 1000 dpi, so as to give different model laptops aprox.
      the same trackpoint cursor speed ootb.
      
      Recent versions of udev + hwdb set a POINTINGSTICK_CONST_ACCEL udev property
      which can be used to adjust trackpoints which are too slow / too fast
      ootb, this commit implements support for that property.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      5c671e03
  20. 20 Mar, 2015 1 commit
  21. 17 Mar, 2015 1 commit
  22. 13 Jan, 2015 2 commits
  23. 02 Dec, 2014 1 commit
  24. 06 Nov, 2014 1 commit
  25. 18 Feb, 2014 1 commit
  26. 23 Nov, 2013 1 commit
  27. 17 Nov, 2013 1 commit
    • Jonas Ådahl's avatar
      Introduce libinput object managing all input data · ce787552
      Jonas Ådahl authored
      Instead of having the user manage added and removed fd's as well as the
      fd used for creating evdev devices, introduce a libinput object that
      itself has an epoll fd.
      
      The user no longer manages multiple fd's per libinput instance, but
      instead handles one fd, dispatches libinput when data is available, then
      reading events using libinput_get_event().
      
      libinput_event's are now per libinstance, but divided into categories.
      So far the only category is device events. Device events are categorized
      by the presence of a non-NULL device pointer in the event.
      
      The current API usage should look like:
      
      struct libinput libinput = ...;
      struct libinput_event *event;
      
      if (libinput_dispatch(libinput) != 0)
      	return -1;
      while ((event = libinput_get_event(libinput))) {
      	if (event->device)
      		process_device_event(event);
      	free(event);
      }
      Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
      ce787552
  28. 12 Nov, 2013 1 commit
    • Jonas Ådahl's avatar
      Port evdev code to be used as a shared library · bd4db1c2
      Jonas Ådahl authored
      This commit introduces build script configuration for building a shared
      library 'libinput.so' containing the evdev input device functionality
      from weston.
      
      evdev.c, evdev.h and evdev-touchpad.c are ported to not use the data
      structures and API in weston and libwayland-server in order to minimize
      dependencies.
      
      The API of filter.c and filter.h are renamed to not include the
      'weston_' prefix.
      Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
      bd4db1c2