diff options
author | Peter Osterlund <petero2@telia.com> | 2004-01-13 00:38:25 +0100 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:39 +0200 |
commit | a593f31943b8837fbd0b2b1804bf5bfe45d15768 (patch) | |
tree | 2001ba8aaa81c04b0671728e378c427a071ff7a0 /synaptics.h | |
parent | c86668de260c96ab38ee7c82aedcc3f3df23da56 (diff) |
Handle touchpads with a scroll region on the right side
where very large X coordinates (typically 8176=0x1ff0) are reported.
Diffstat (limited to 'synaptics.h')
-rw-r--r-- | synaptics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synaptics.h b/synaptics.h index 156d66a..3c14b11 100644 --- a/synaptics.h +++ b/synaptics.h @@ -144,6 +144,7 @@ typedef struct _SynapticsPrivateRec SynapticsTapRec touch_on; /* data when the touchpad is touched */ SynapticsMoveHistRec move_hist[SYNAPTICS_MOVE_HISTORY]; /* movement history */ + 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 */ unsigned long count_packet_finger; /* packet counter with finger on the touchpad */ |