Patched libinput
for my Thinkpad Z13 gen 1 Touchpad.
Two patches:
- No "wobbling detection" (presumably related to hysteresis?). This patch by Martin Baillie. See also issue #286.
- Linear acceleration by american_spacey on Reddit
To-Do: Experiment with other acceleration profiles such as one in this paper
(probably relevant APIs)
libinput_device_config_accel_set_profile()
libinput_config_accel_profile
libinput_config_accel_set_points
diff -Naru file_original file_updated > file.patch
Add the patches to PKGBUILD's source list, then
makepkg -g >> PKGBUILD # Then fix the `sha256sums` line
makepkg -si
Don't forget to update prepare()
section for the patches.
Delete src/build