1. 23 Jul, 2022 2 commits
  2. 27 Apr, 2022 1 commit
  3. 25 Jan, 2022 3 commits
  4. 24 Jan, 2022 3 commits
  5. 16 Jan, 2022 2 commits
  6. 18 Dec, 2021 1 commit
  7. 24 Nov, 2021 1 commit
  8. 17 Nov, 2021 1 commit
  9. 14 Nov, 2021 1 commit
  10. 10 Nov, 2021 1 commit
  11. 19 Sep, 2021 1 commit
  12. 16 Sep, 2021 3 commits
  13. 06 Aug, 2021 1 commit
  14. 04 Aug, 2021 2 commits
    • José Expósito's avatar
      Get scroll source in the event handler · ca9042c7
      José Expósito authored
      Where libinput supports high-resolution scroll events, the scroll source
      is encoded in the event type.
      Get the scroll source in xf86libinput_handle_event to facilitate the
      Refactor, no functional changes.
      Signed-off-by: José Expósito's avatarJosé Expósito <jose.exposito89@gmail.com>
    • Peter Hutterer's avatar
      Upgrade the default scroll distance to 120 · bf8dc2e2
      Peter Hutterer authored and José Expósito's avatar José Expósito committed
      This is just a number, to be used as divider and shouldn't have any effect in
      correctly written clients. With the high-res scrolling coming up however, we
      have a few devices where the dist cannot be expressed as an integer fraction
      of 15, so let's up it to 120 because we know all hardware wheels have to be an
      integer fraction of that that, thanks to Microsoft's API requirements.
      For non-wheel scrolls we need to now map into the new range. Previously we
      just passed the scroll events on from the touchpad/button scrolling, meaning a
      vdist of 15 meant 15 "libinput pixels" of scrolling resulted in a logical
      wheel click. Now that we have 120 as vdist, we need to times the input data by
      8 to keep the same proportions.
      See 39b0bb45
       for the previous revert.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  15. 05 Jul, 2021 1 commit
  16. 23 Jun, 2021 1 commit
  17. 05 May, 2021 2 commits
    • Peter Hutterer's avatar
      Implement a touchpad scroll distance property · 9bb9e635
      Peter Hutterer authored
      To be used for touchpads and continuous (i.e. button-based scrolling).
      libinput provides us with pixel data for finger-based and button-based
      scrolling but the X server does support this - XI2.1 smooth scrolling is
      merely centered around a logical scroll click (defined as "increment"), with
      smooth scrolling being a fraction of that increment. For example, in the old
      synaptics driver that value was in device-specific units and thus different
      for every device.
      The increment is a constant value set in the ScrollClass and cannot be changed
      at device runtime. So we simply initialize with a random default (15, because
      that works well for wheels) and then scale our pixel delta in to that range.
      With the default value, a 15 pixel movement would result in a logical scroll
      click, if the distance is set to 30 the users has to move 30 pixels to trigger
      that scroll click. Pixel here being defined as the deltas that libinput
      provides to us.
      From the client's perspective nothing changes, the increment is still the
      Range checks are quite restrictive, this option is supposed to improve
      usability, not as a workaround around other bugs.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Peter Hutterer's avatar
      Fix a spacing issue · cc10918b
      Peter Hutterer authored
      yay for copy/paste proliferation
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  18. 16 Apr, 2021 1 commit
  19. 09 Apr, 2021 1 commit
  20. 06 Apr, 2021 3 commits
  21. 24 Mar, 2021 1 commit
  22. 04 Nov, 2020 1 commit
    • Dorian Stoll's avatar
      Lift canceled touch inputs · 39be9449
      Dorian Stoll authored
      If a touch input gets turned into a palm (by setting ABS_MT_TOOL_TYPE to
      MT_TOOL_PALM), libinput will emit a cancel event instead of the normal
      up event. The xorg wrapper needs to be able to handle a canceled touch
      and lift it, otherwise these inputs will never get lifted and will stick
      around forever.
      Signed-off-by: Dorian Stoll's avatarDorian Stoll <dorian.stoll@tmsp.io>
  23. 19 Oct, 2020 2 commits
  24. 19 May, 2020 4 commits