1. 20 May, 2020 1 commit
  2. 19 Apr, 2020 2 commits
  3. 04 Apr, 2020 1 commit
    • Peter Hutterer's avatar
      gdk/wayland: add support for wl_pointer.axis_v120 events · 6893f59a
      Peter Hutterer authored
      This is a new type of events, see
      https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/72
      
      
      
      For axis events of source wheel/tilt it effectively replaces the existing
      axis/axis_discrete events in favour of a value based on 1 wheel detent ==
      value 120. This allows for finer-grained scrolling on HW that supports those
      devices - 4 events of 30 for example.
      
      Those events should be assumed to be a separate event stream from the same
      device which means we will (likely, depends on the compositor's backwards
      compatibility requirements) get both legacy and new hires wheel events. Where
      a frame is a pure legacy frame the axis_v120 value is zero so we know we can
      ignore the rest.
      
      Our code ends up as:
      - source finger/continuous - no changes
      - source wheel:
        - handle nonzero v120 events as smooth scroll events and pass them through
          accordingly
        - handle zero v120 events by throwing away axis data from this frame
        - handle axis/discrete without a v120 event as we did previously
      
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      6893f59a
  4. 03 Apr, 2020 12 commits
  5. 02 Apr, 2020 15 commits
  6. 01 Apr, 2020 9 commits