summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorQuytelda Kahja <quytelda@tamalin.org>2021-07-25 19:23:06 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2021-07-28 23:53:36 +0000
commite6c4b1d16ead9c40599dcea30c1598ecb9760b7d (patch)
treed050b280d37c15c4ed738ac64a4a1aa315918c8a /tools
parent8ee853749102cfd54be09148077edad153c45764 (diff)
downloadlibinput-e6c4b1d16ead9c40599dcea30c1598ecb9760b7d.tar.gz
quirks: Add tablet smoothing attribute.
https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/512 disables input smoothing for AES devices. However, some AES devices produce segmented/wobbly curves without smoothing. This change introduces an `AttrTabletSmoothing` boolean property, which overrides the default smoothing behavior. See #632 Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.c b/tools/shared.c
index 65c1c7ce..096fcbed 100644
--- a/tools/shared.c
+++ b/tools/shared.c
@@ -732,6 +732,7 @@ tools_list_device_quirks(struct quirks_context *ctx,
callback(userdata, buf);
break;
case QUIRK_ATTR_USE_VELOCITY_AVERAGING:
+ case QUIRK_ATTR_TABLET_SMOOTHING:
snprintf(buf, sizeof(buf), "%s=1", name);
callback(userdata, buf);
break;