Bug 79056 - RFE: pointer acceleration needs to take resolution into account
Summary: RFE: pointer acceleration needs to take resolution into account
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-22 06:28 UTC by Peter Hutterer
Modified: 2014-05-30 01:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.