Skip to content
Snippets Groups Projects

Add support for custom pointer acceleration

Merged Yinon Burgansky requested to merge Yinon/xf86-input-libinput:custom-acceleration into master
Compare changes
  • Side-by-side
  • Inline
Files
9
  • 062da300
    `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.
    
    See libinput documentation for a detailed explanation of custom
    pointer acceleration.
Loading