mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
Add a configuration option to reduce the available hardware range to a fraction thereof. This is done by copying the absinfo struct for the pressure value and adjusting that copy's minimum/maximum value for scaling into the target normalized range. The 1%/5% tip thresholds are kept but pressure offset detection is disabled if there is a custom pressure range. Unlike the pressure curve which is implemented in the compositor, the pressure min/max range needs to be in libinput, primarily because the tip threshold needs to adjust to any new minimum, allowing for light touches with a pen without triggering tip down even at a higher hardware pressure. |
||
|---|---|---|
| .. | ||
| api | ||
| user | ||
| button-debouncing-state-machine.svg | ||
| button-debouncing-wave-diagram.txt | ||
| middle-button-emulation.svg | ||
| touchpad-edge-scrolling-state-machine.svg | ||
| touchpad-gestures-state-machine.svg | ||
| touchpad-softbutton-state-machine.svg | ||
| touchpad-tap-state-machine.svg | ||