summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index 5469b0c..1f6dc08 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -196,6 +196,8 @@ typedef struct _SynapticsPrivateRec
struct {
int last_x; /* last x-scroll position */
int last_y; /* last y-scroll position */
+ double delta_x; /* accumulated horiz scroll delta */
+ double delta_y; /* accumulated vert scroll delta */
double last_a; /* last angle-scroll position */
CARD32 last_millis; /* time last scroll event posted */
double coast_speed_x; /* Horizontal coasting speed */