summaryrefslogtreecommitdiff
path: root/src/filter.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-03-19 11:02:51 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-03-19 12:06:48 +1000
commit69d5bbbeba90ca67825db868a272e84777b33a1d (patch)
tree724947205f83627a28194c2ebe4fbb5c1661ae32 /src/filter.h
parentea1c39f702110ddff3367789093d219604c5da87 (diff)
downloadlibinput-69d5bbbeba90ca67825db868a272e84777b33a1d.tar.gz
filter: switch to normalized_coords
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/filter.h')
-rw-r--r--src/filter.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/filter.h b/src/filter.h
index f23b691b..70363a62 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -28,15 +28,13 @@
#include <stdbool.h>
#include <stdint.h>
-struct motion_params {
- double dx, dy; /* in units/ms @ DEFAULT_MOUSE_DPI resolution */
-};
+#include "libinput-private.h"
struct motion_filter;
-void
+struct normalized_coords
filter_dispatch(struct motion_filter *filter,
- struct motion_params *motion,
+ const struct normalized_coords *unaccelerated,
void *data, uint64_t time);
void
filter_destroy(struct motion_filter *filter);