diff options
author | Peter Osterlund <petero2@telia.com> | 2002-07-07 00:02:32 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:00:51 +0200 |
commit | 5ec7c7c229ad54f8884877c22d414165acfda415 (patch) | |
tree | c44a80a115ae96264525c4c1c680169f43a61cfb /synaptics.h | |
parent | 8e13d425613a3c24a026759d6761dbc2d499f353 (diff) |
Implemented horizontal scrolling (button 6 & 7 events) when
moving the finger along the bottom edge of the touch pad.
Diffstat (limited to 'synaptics.h')
-rw-r--r-- | synaptics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synaptics.h b/synaptics.h index d8d2f96..f4ba388 100644 --- a/synaptics.h +++ b/synaptics.h @@ -34,6 +34,7 @@ typedef struct _SynapticsSHM { int finger_low, finger_high; /* finger detection values in Z-values */ int tap_time, tap_move; /* max. tapping-time and movement in packets and coord. */ int scroll_dist_vert; /* Scrolling distance in absolute coordinates */ + int scroll_dist_horiz; /* Scrolling distance in absolute coordinates */ double min_speed, max_speed, accl; /* movement parameters */ int edge_motion_speed; /* Edge motion speed when dragging */ char* repeater; /* Repeater on or off */ @@ -61,6 +62,7 @@ typedef struct _SynapticsPrivateRec SynapticsMoveHistRec move_hist[SYNAPTICS_MOVE_HISTORY]; /* movement history */ int scroll_y; /* last y-scroll position */ + int scroll_x; /* last x-scroll position */ unsigned int count_packet_finger; /* packet counter with finger on the touchpad */ unsigned int count_packet; /* packet counter */ unsigned int count_packet_tapping; /* packet counter for tapping */ @@ -69,6 +71,7 @@ typedef struct _SynapticsPrivateRec Bool tap, drag, doubletap; /* feature flags */ Bool tap_left, tap_mid, tap_right; /* tapping buttons */ Bool vert_scroll_on; /* scrolling flag */ + Bool horiz_scroll_on; /* scrolling flag */ double frac_x, frac_y; /* absoulte -> relative fraction */ Bool third_button; /* emulated 3rd button */ OsTimerPtr repeat_timer; /* for up/down-button repeat */ |