diff options
author | Patrick Curran <pjcurran@wisc.edu> | 2010-07-23 17:28:01 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-08-20 11:08:47 +1000 |
commit | 56655fd15f676fea143f3963e23b464b275b2e77 (patch) | |
tree | 133b0dc1342a1579f2b81420801290c67024d6a9 /tools/synclient.c | |
parent | a6ca4d2523904b7ce49edc29ba408979bdf0d45e (diff) |
Added "friction physics" so coasting can stop on its own.
When you are coasting (but not corner coasting) you might want the
scrolling to slow down and stop on its own. This also lets you
start coasting while using a two finger scroll.
Signed-off-by: Patrick Curran <pjcurran@wisc.edu>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/synclient.c')
-rw-r--r-- | tools/synclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index d5bfdf0..e7be499 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -132,6 +132,7 @@ static struct Parameter params[] = { {"PalmMinWidth", PT_INT, 0, 15, SYNAPTICS_PROP_PALM_DIMENSIONS, 32, 0}, {"PalmMinZ", PT_INT, 0, 255, SYNAPTICS_PROP_PALM_DIMENSIONS, 32, 1}, {"CoastingSpeed", PT_DOUBLE, 0, 20, SYNAPTICS_PROP_COASTING_SPEED, 0 /* float*/, 0}, + {"CoastingFriction", PT_DOUBLE, 0, 255, SYNAPTICS_PROP_COASTING_SPEED, 0 /* float*/, 1}, {"PressureMotionMinZ", PT_INT, 1, 255, SYNAPTICS_PROP_PRESSURE_MOTION, 32, 0}, {"PressureMotionMaxZ", PT_INT, 1, 255, SYNAPTICS_PROP_PRESSURE_MOTION, 32, 1}, {"PressureMotionMinFactor", PT_DOUBLE, 0, 10.0,SYNAPTICS_PROP_PRESSURE_MOTION_FACTOR, 0 /*float*/, 0}, |