From 88dada465e0fad35b5a535a042e0a93046ffff7c Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 4 Aug 2010 22:06:54 +0200 Subject: Cleanup tapping and gesture code Improved tapping quality with this patch. Signed-off-by: Henrik Rydberg --- src/grail-gestures.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/grail-gestures.h') diff --git a/src/grail-gestures.h b/src/grail-gestures.h index b8f46d4..9da2693 100644 --- a/src/grail-gestures.h +++ b/src/grail-gestures.h @@ -27,6 +27,10 @@ #include "grail-inserter.h" +#define PRIO_POINTER 1 +#define PRIO_GESTURE 2 +#define PRIO_TAP 3 + struct filter_model { float delta, val, orig, fuzz, bar; int tickle, active; @@ -34,7 +38,7 @@ struct filter_model { struct move_model { struct filter_model x, y, r, a; - int motion, nactive, ntouch; + int multi, ntouch; float dx, dy, dr, da; grail_time_t time; }; -- cgit v1.2.3