mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-03-24 01:24:04 +00:00
Add support for custom pointer acceleration
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. See libinput documentation for a detailed explanation of custom pointer acceleration.
This commit is contained in:
committed by
Yinon Burgansky
parent
ca02afd8d2
commit
f94a8edb0e
@@ -45,13 +45,28 @@ are supported:
|
||||
Sets the pointer acceleration profile to the given profile. Permitted values
|
||||
are
|
||||
.BI adaptive,
|
||||
.BI flat.
|
||||
.BI flat,
|
||||
.BI custom.
|
||||
Not all devices support this option or all profiles. If a profile is
|
||||
unsupported, the default profile for this device is used. For a description
|
||||
on the profiles and their behavior, see the libinput documentation.
|
||||
.TP 7
|
||||
.BI "Option \*qAccelSpeed\*q \*q" float \*q
|
||||
Sets the pointer acceleration speed within the range [-1, 1]
|
||||
Sets the pointer acceleration speed within the range [-1, 1].
|
||||
This only applies to the flat or adaptive profile.
|
||||
.BI "Option \*AccelPointsFallback\*q \*q" string \*q
|
||||
Sets the points of the Fallback acceleration function, (see the libinput documentation).
|
||||
The string must be a space-separated list of floating point non-negative numbers, e.g.
|
||||
"0.0 1.0 2.4 2.5".
|
||||
This only applies to the custom profile.
|
||||
.BI "Option \*AccelStepFallback\*q \*q" float \*q
|
||||
Sets the step between the points of the Fallback acceleration function, (see the libinput documentation).
|
||||
When a step of 0.0 is provided, libinput's default Fallback acceleration function is used.
|
||||
This only applies to the custom profile.
|
||||
.BI "Option \*AccelPointsMotion\*q \*q" string \*q
|
||||
Equivalent to AccelPointsFallback but applies to the Motion acceleration function.
|
||||
.BI "Option \*AccelStepMotion\*q \*q" float \*q
|
||||
Equivalent to AccelStepFallback but applies to the Motion acceleration function.
|
||||
.TP 7
|
||||
.BI "Option \*qButtonMapping\*q \*q" string \*q
|
||||
Sets the logical button mapping for this device, see
|
||||
|
||||
Reference in New Issue
Block a user