summaryrefslogtreecommitdiff
path: root/synaptics.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2005-01-05 20:55:09 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:03:02 +0200
commit02f6b44dbbdaa459903126028779cbc573b13842 (patch)
treef8d00f410332eaf51c31b701afd5928b102c8d59 /synaptics.h
parent50c7fdc462daa60cf8555edbb35ac6fc9a5a5d80 (diff)
Always update the move_hist[] buffer when a finger is on the
touchpad. Will be needed to implement coasting.
Diffstat (limited to 'synaptics.h')
-rw-r--r--synaptics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/synaptics.h b/synaptics.h
index a104a2f..ba49671 100644
--- a/synaptics.h
+++ b/synaptics.h
@@ -160,6 +160,7 @@ typedef struct _SynapticsPrivateRec
int fifofd; /* fd for fifo */
SynapticsMoveHistRec move_hist[SYNAPTICS_MOVE_HISTORY]; /* movement history */
+ int hist_index; /* Last added entry in move_hist[] */
int largest_valid_x; /* Largest valid X coordinate seen so far */
int scroll_y; /* last y-scroll position */
int scroll_x; /* last x-scroll position */