1. 31 Aug, 2018 1 commit
  2. 29 Aug, 2018 1 commit
  3. 22 Aug, 2018 1 commit
    • Kim Lindberger's avatar
      Add quirk to control velocity averaging, disable it by default · 99334e11
      Kim Lindberger authored
      libinput applies averaging to the velocity of most pointer devices. Averaging
      the velocity makes the motion look smooth and may be of benefit to bad input
      devices. For good devices, however, it comes at the unfortunate price of
      decreased accuaracy.
      This change turns velocity averaging off by default (sets ntrackers to 2 instead
      of 16) and allows for it to be turned back on via a quirk, for bad devices which
      require it.
  4. 19 Jul, 2018 1 commit
  5. 17 Jul, 2018 2 commits
  6. 11 Jul, 2018 3 commits
  7. 09 Jul, 2018 2 commits
  8. 26 Jun, 2018 1 commit
  9. 20 Jun, 2018 1 commit
  10. 13 Jun, 2018 1 commit
    • Peter Hutterer's avatar
      tools: fix grab argument passing for libinput debug-events · 0a13223c
      Peter Hutterer authored
      The &grab pointer we used to pass as userdata was the address of the function
      argument which goes out of scope at the end of the function. This works fine
      for devices immediately opened but when a device connects later, the address
      may have been re-used since and it's content is undefined. If not NULL, we
      end up grabbing the device.
      Instead pass the grab option in which is guaranteed to live until the end of
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  11. 21 May, 2018 1 commit
    • Peter Hutterer's avatar
      Revert "Expose a custom acceleration profile" · 33162632
      Peter Hutterer authored
      This looked good on paper but clearly no-one (including myself) ever tested this
      in a real-life situation or they would've noticed that the constant factor is
      missing, causing a segfault on the first two-finger scroll event, touchpad
      gesture or button scrolling.
      Adding the constant factor makes the API much worse and the benefit is
      unclear, so out of the window it goes. We can revisit this for libinput 1.12
      but this isn't going to make the next release.
      This reverts commit d8bd6505
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  12. 26 Apr, 2018 1 commit
    • Peter Hutterer's avatar
      Expose a custom acceleration profile · d8bd6505
      Peter Hutterer authored
      This adds a third profile to the available profiles to map device-specific
      speed to an acceleration factor, fully defined by the caller.
      There has been a consistent call for different acceleration profiles in
      libinput, but very little specifics in what actually needs to be changed.
      "faster horses" and whatnot (some notable exceptions in e.g. bug 101139).
      Attempts to change the actual acceleration function will likely break things
      for others.
      This approach opens up the profile itself to a user-specific acceleration
      curve. A caller can set an acceleration curve by defining a number of points
      on that curve to map input speed to an output factor. That factor is applied
      to the input delta.
      libinput does relatively little besides mapping the deltas to the
      device-specific speed, querying the curve for that speed and applying that
      factor. The curve is device-specific, the input speed is in device units/ms.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  13. 12 Apr, 2018 1 commit
  14. 16 Feb, 2018 1 commit
  15. 09 Nov, 2017 1 commit
  16. 18 Sep, 2017 1 commit
  17. 12 Jul, 2017 1 commit
  18. 10 Jul, 2017 1 commit
  19. 26 Jun, 2017 1 commit
    • Peter Hutterer's avatar
      tools: split the configuration option parsing out · d1b7b626
      Peter Hutterer authored
      We had one shared parsing function for all config options so tools parse
      options that don't actually make sense (e.g. --quiet or --show-keycodes for
      This patch splits the actual libinput device configuration out and reshuffles
      everything to make use of that. One large patch, because splitting this up is
      more confusing than dumping it all.
      This means the actual option parsing is partially duplicated between debug-gui
      and debug-events but hey, not everything in life is perfect.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  20. 22 Jun, 2017 1 commit
  21. 02 Jun, 2017 4 commits
    • Peter Hutterer's avatar
      tools: add "libinput measure touchpad-tap" · 328bc99d
      Peter Hutterer authored
      This is the first tool of many more to come to enable users to gather
      information aobut their devices and/or usage of these devices. Previously,
      these required the users to record events, submit them to a bugzilla, have me
      run various scripts over it and then decree that the scripts have spoken.
      Push some of this into the hands of the users so they can query the numbers
      locally and start investigating (or at least get an idea of what's happening).
      This tool measures the time deltas between touch up and touch down and prints
      a basic summary, together with the ability to print a dat file with the data
      for visualization by e.g. gnuplot. Eventually, more of the current analysis
      scripts will be moved into this or other helpers.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Peter Hutterer's avatar
      tools: make the libinput tool usage static · 4508e29a
      Peter Hutterer authored
      This now makes the header obsolete too
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Peter Hutterer's avatar
      tools: tidy up the usage() for the tools a bit · 2d42e87d
      Peter Hutterer authored
      Now that the debug-gui is a user-visible tool, make sure the usage reflects
      the right command name.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Peter Hutterer's avatar
      tools: switch the libinput tool to be an exec-ing tool · e9fc59ef
      Peter Hutterer authored
      Chaining args together inside a single binary would be nice, but it gets nasty
      quickly (as I found out adding 3, 4 extra commands). Switch over to using a
      git-style exec-ing command where libinput merely changes argv[0] and then
      executes whatever it assembled. And those binaries can hide in libexec so they
      don't clutter up the global namespace.
      This also makes it a lot easier to write man pages, adopt the same style as
      git uses.
      Compatibilty wrapper scripts are provided for libinput-list-devices and
      libinput-debug events. These warn the user about the changed command, then
      exec the new one. Expect these wrappers to be removed at some point in the
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  22. 26 May, 2017 1 commit
  23. 17 May, 2017 1 commit
  24. 28 Mar, 2017 1 commit
  25. 24 Mar, 2017 1 commit
  26. 24 Feb, 2017 1 commit
  27. 14 Feb, 2017 1 commit
  28. 13 Feb, 2017 1 commit
    • Peter Hutterer's avatar
      tools: hide key codes by default · 8c1aa1de
      Peter Hutterer authored
      libinput-debug-events prints keycodes as they come in. This makes it dangerous
      to be run by users (especially in the background) because it will leak
      sensitive information as it is typed. Obfuscate the base set of keycodes
      by default, require a --show-keycodes switch to show it.
      The few times we actually need the keycodes, we can run the switch in the
      debugging tool.
      This does not affect keys outside of the main block on the keyboard (F-keys,
      multimedia keys).
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
  29. 02 Jan, 2017 1 commit
  30. 06 Dec, 2016 1 commit
  31. 05 Dec, 2016 1 commit
  32. 01 Dec, 2016 1 commit
  33. 29 Nov, 2016 1 commit