mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-04-14 11:54:16 +00:00
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.
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user