diff options
author | Peter Osterlund <petero2@telia.com> | 2003-06-19 01:19:38 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:00:58 +0200 |
commit | 799ea3f9ccb2bbad7e60fd1bc2fae6b218fddbb5 (patch) | |
tree | f997650fbb27e8106d1f519168155a3e057b5a26 /synclient.c | |
parent | dfb3d4236e706a4b00298f0cacca99365a906c57 (diff) |
Rewrote timer handling so that the driver no longer depends
on packets arriving 1s after the last state change. (The kernel driver
only reports to user space when something changes.) Use wall clock time
instead of packet counting for time computations. This change also
means that configurable times are now specified in milliseconds instead
of units of 1/80s.
Diffstat (limited to 'synclient.c')
-rw-r--r-- | synclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synclient.c b/synclient.c index 98c15a0..8e7edf9 100644 --- a/synclient.c +++ b/synclient.c @@ -49,9 +49,9 @@ static struct Parameter params[] = { DEFINE_PAR("BottomEdge", bottom_edge, PT_INT, 0, 10000), DEFINE_PAR("FingerLow", finger_low, PT_INT, 0, 255), DEFINE_PAR("FingerHigh", finger_high, PT_INT, 0, 255), - DEFINE_PAR("MaxTapTime", tap_time, PT_INT, 0, 75), + DEFINE_PAR("MaxTapTime", tap_time, PT_INT, 0, 1000), DEFINE_PAR("MaxTapMove", tap_move, PT_INT, 0, 2000), - DEFINE_PAR("EmulateMidButtonTime", emulate_mid_button_time, PT_INT, 0, 75), + DEFINE_PAR("EmulateMidButtonTime", emulate_mid_button_time, PT_INT, 0, 1000), DEFINE_PAR("VertScrollDelta", scroll_dist_vert, PT_INT, 5, 1000), DEFINE_PAR("HorizScrollDelta", scroll_dist_horiz, PT_INT, 5, 1000), DEFINE_PAR("MinSpeed", min_speed, PT_DOUBLE, 0, 1.0), |