diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-16 10:35:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-17 11:13:51 +1000 |
commit | bef44f01603e1a337b9dc08b5dd37664f9237bab (patch) | |
tree | 08f13c8c61668302665a6fa2ff128346e886ce81 /tools | |
parent | a3c38206ed242040c4cbb79377490d8dfa48d5ac (diff) |
synclient: allow Min|MaxSpeed values of > 1.0.
With the new accel mechanisms, the old ranges don't apply anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/synclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index 316ae2c..ffbbd5f 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -97,8 +97,8 @@ static struct Parameter params[] = { {"CornerCoasting", PT_BOOL, 0, 1, SYNAPTICS_PROP_SCROLL_EDGE, 8, 2}, {"VertTwoFingerScroll", PT_BOOL, 0, 1, SYNAPTICS_PROP_SCROLL_TWOFINGER, 8, 0}, {"HorizTwoFingerScroll", PT_BOOL, 0, 1, SYNAPTICS_PROP_SCROLL_TWOFINGER, 8, 1}, - {"MinSpeed", PT_DOUBLE, 0, 1.0, SYNAPTICS_PROP_SPEED, 0, /*float */ 0}, - {"MaxSpeed", PT_DOUBLE, 0, 1.0, SYNAPTICS_PROP_SPEED, 0, /*float */ 1}, + {"MinSpeed", PT_DOUBLE, 0, 255.0, SYNAPTICS_PROP_SPEED, 0, /*float */ 0}, + {"MaxSpeed", PT_DOUBLE, 0, 255.0, SYNAPTICS_PROP_SPEED, 0, /*float */ 1}, {"AccelFactor", PT_DOUBLE, 0, 1.0, SYNAPTICS_PROP_SPEED, 0, /*float */ 2}, {"TrackstickSpeed", PT_DOUBLE, 0, 200.0, SYNAPTICS_PROP_SPEED, 0, /*float */ 3}, {"EdgeMotionMinZ", PT_INT, 1, 255, SYNAPTICS_PROP_EDGEMOTION_PRESSURE, 32, 0}, |