Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xf86-input-libinput
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • driver
  • xf86-input-libinput
  • Merge requests
  • !39

Add support for custom pointer acceleration

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Yinon Burgansky requested to merge Yinon/xf86-input-libinput:custom-acceleration into master Nov 25, 2022
  • Overview 65
  • Commits 1
  • Pipelines 9
  • Changes 9

This patch adds support for the new custom pointer acceleration method in libinput, see libinput/libinput!775 (merged).

Adds new properties and xorg.conf entries for setting the acceleration function's points and step.

AccelProfile option can now accept custom value.

Add 4 new options which only apply when AccelProfile is custom:

  • Add AccelPointsFallback option for setting the points of the Fallback acceleration function. Points values are represented by a space-separated list, e.g. "0.0 1.0 2.4 2.5".
  • Add AccelStepFallback option for setting the step of the Fallback acceleration function. When a step of 0.0 is provided, libinput default Fallback acceleration function is used.
  • Add AccelPointsMotion and AccelStepMotion options, which are equivalent to AccelPointsFallback and AccelStepFallback options, but apply to the Motion acceleration function.

Based on !38 (closed).
Have been using the new custom profile on my machine for a while now, awaiting public testing.

Edited Dec 08, 2022 by Yinon Burgansky
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: custom-acceleration