diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2021-07-25 19:23:06 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-07-28 23:53:36 +0000 |
commit | e6c4b1d16ead9c40599dcea30c1598ecb9760b7d (patch) | |
tree | d050b280d37c15c4ed738ac64a4a1aa315918c8a /tools | |
parent | 8ee853749102cfd54be09148077edad153c45764 (diff) | |
download | libinput-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.c | 1 |
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; |