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.
      99334e11
  4. 11 Jul, 2018 3 commits
  5. 20 Jun, 2018 1 commit
  6. 08 Jun, 2018 1 commit
    • Peter Hutterer's avatar
      Implement a quirks system to replace the udev property parsing · 5792af9a
      Peter Hutterer authored
      
      
      Previously, we had all extra device information ("This is an Apple Touchpad",
      "This touchpad causes pointer jumps", etc.) in the udev hwdb. The problem with
      the hwdb is that updating it is nontrivial for the average user and debugging
      when things go wrong is even harder. Plus, the hwdb has a matching scheme that
      is unpredictable unless one is familiar with the implementation.
      
      This patch set moves the hwdb entries into .ini style text files, with a
      simple line-based parser. A new libinput list-quirks tool can list the quirks
      applied to any given device, in --verbose mode it prints all matches as they
      apply or not apply.
      
      The data files are currently unused by libinput, that comes in a later patch.
      They're installed though, the defaults point to the /usr/share/libinput
      directory and for *temporary* local overrides the single file
      /etc/libinput/local-overrides.quirks.
      
      Failure to parse any file is a hard failure for the quirks system, but if the
      local override file doesn't exist that's fine.
      
      THIS IS NOT A CONFIGURATION INTERFACE! None of these settings are exposed via
      the libinput_device_config_* calls. There is no API guarantee for these files,
      think of them as source code.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      5792af9a