summaryrefslogtreecommitdiff
path: root/src/filter.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-07-02 15:36:59 +0200
committerHans de Goede <hdegoede@redhat.com>2017-07-02 15:36:59 +0200
commitf60e0f390334c5cb03bc89b249ff20dda0574b30 (patch)
treece0e04d2ba33c5973e8f16d190e0a830056dd9ba /src/filter.h
parent5264a3c45c890014dc97ed3698b2c4272d9af2ba (diff)
evdev-mt-touchpad: Enable timestamp smoothing support for bluetooth touchpadsHEADmaster
Bluetooth wreaks havoc with the timestamp of the input events coming from the touchpad, enable timestamp smoothing support to counter this. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/filter.h')
-rw-r--r--src/filter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/filter.h b/src/filter.h
index e24c20d..131f801 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -114,7 +114,9 @@ struct motion_filter *
create_pointer_accelerator_filter_linear_low_dpi(int dpi);
struct motion_filter *
-create_pointer_accelerator_filter_touchpad(int dpi);
+create_pointer_accelerator_filter_touchpad(int dpi,
+ uint64_t event_delta_smooth_threshold,
+ uint64_t event_delta_smooth_value);
struct motion_filter *
create_pointer_accelerator_filter_lenovo_x230(int dpi);