summaryrefslogtreecommitdiff
path: root/src/grail-gestures.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-04 22:06:54 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit88dada465e0fad35b5a535a042e0a93046ffff7c (patch)
treec191b61c7b55fb5cfb08b8baae6bc11a25062ca6 /src/grail-gestures.h
parent697b5b5c7d2b1c46387061fcbed24cbee51d98ce (diff)
Cleanup tapping and gesture code
Improved tapping quality with this patch. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'src/grail-gestures.h')
-rw-r--r--src/grail-gestures.h6
1 files changed, 5 insertions, 1 deletions
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 @@
27 27
28#include "grail-inserter.h" 28#include "grail-inserter.h"
29 29
30#define PRIO_POINTER 1
31#define PRIO_GESTURE 2
32#define PRIO_TAP 3
33
30struct filter_model { 34struct filter_model {
31 float delta, val, orig, fuzz, bar; 35 float delta, val, orig, fuzz, bar;
32 int tickle, active; 36 int tickle, active;
@@ -34,7 +38,7 @@ struct filter_model {
34 38
35struct move_model { 39struct move_model {
36 struct filter_model x, y, r, a; 40 struct filter_model x, y, r, a;
37 int motion, nactive, ntouch; 41 int multi, ntouch;
38 float dx, dy, dr, da; 42 float dx, dy, dr, da;
39 grail_time_t time; 43 grail_time_t time;
40}; 44};