Bug 79056

Summary: RFE: pointer acceleration needs to take resolution into account
Product: Wayland Reporter: Peter Hutterer <peter.hutterer>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Peter Hutterer 2014-05-22 06:28:23 UTC
Devices with uneven horizontal/vertical resolution are accelerated unevenly. e.g. on the x220t, the touchpad is almost twice as wide as high. The resolution reflects this:

    Event code 0 (ABS_X)
      Value   2618
      Min     1472
      Max     5472
      Resolution      75
    Event code 1 (ABS_Y)
      Value   2482
      Min     1408
      Max     4448
      Resolution     129

the acceleration code needs to take this resolution into account to pre-adjust the coordinates. The goal is that a circle on the device reflects a circle on the screen.
Comment 1 Peter Hutterer 2014-05-30 01:23:39 UTC
commit e18e9d56a8afe0268fcab09a6ef11d359bf0bbd5
Author: Jonas Ã…dahl <jadahl@gmail.com>
Date:   Sat May 24 16:53:45 2014 +0200

    touchpad: Make anisotropic motion deltas isotropic

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.