Skip to content
Snippets Groups Projects
  1. Dec 18, 2018
  2. Dec 12, 2018
  3. Nov 07, 2018
  4. Nov 06, 2018
  5. Nov 05, 2018
  6. Nov 02, 2018
  7. Nov 01, 2018
  8. Oct 29, 2018
  9. Oct 24, 2018
  10. Oct 21, 2018
  11. Oct 19, 2018
    • Peter Hutterer's avatar
      quirks: disable debouncing on the VMware Virtual mice · ec5d7702
      Peter Hutterer authored
      
      At least on MacBooks, the host emulates two clicks 8ms apart in response to a
      doubletap. Those clicks are filtered by our debouncing code.
      
      Since these are emulated devices anyway and by definition cannot have a stuck
      button, let's tag them so we don't enable the debouncing code. If the button
      of the physical device is stuck, that's a problem that needs to be fixed in
      the host system.
      
      Fixes #158
      
      Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      ec5d7702
  12. Oct 18, 2018
  13. Oct 16, 2018
    • Val Packett's avatar
      quirks: use basename in a POSIX compliant way · b0cd07bf
      Val Packett authored
      The POSIX version of basename modifies the string (and therefore crashes
      on static strings), so use safe_strdup before calling it.
      
      glibc provides a POSIX version when libgen.h is included.
      FreeBSD 12 provides a POSIX version when nothing is included, which was
      causing a segfault.
      
      Using the POSIX version correctly is the right way to avoid any such issues.
      b0cd07bf
  14. Oct 15, 2018
  15. Oct 10, 2018
  16. Oct 08, 2018
  17. Oct 04, 2018
  18. Oct 03, 2018
  19. Oct 02, 2018
    • Peter Hutterer's avatar
      touchpad: ignore motion speed for hovering touches · a8e3f4d1
      Peter Hutterer authored
      
      tp_detect_thumb_while_moving() assumes that of the 2 fingers down, at least
      one must be in TOUCH_UPDATE, otherwise we wouldn't have a speed to analyze for
      thumb.
      
      If a touch starts in HOVERING and exceeds the speed limit, we were previously
      increasing the 'exceeded count'. This later leads to an assert() in
      tp_detect_thumb_while_moving() when the second finger comes down because
      although we have multiple fingers, none of them are in TOUCH_UPDATE.
      
      This only happens when fingers 2 and 3 come down in the same event frame,
      because then we have nfingers_down at 2 (the hovering one doesn't count) but
      we don't yet have a finger in TOUCH_UPDATE.
      
      Fix this twofold, first by now calculating the speed on anything but
      TOUCH_UPDATE. And second by force-resetting the speed count on
      TOUCH_BEGIN/TOUCH_END so we definitely cover all the hover transitions.
      
      Fixes #150
      
      Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      a8e3f4d1
    • Peter Hutterer's avatar
  20. Sep 28, 2018
  21. Sep 27, 2018
Loading