From 0352c67fa2a7224b5a3bf03a934b3c7af42b4f51 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 11 May 2012 10:54:47 +1000 Subject: tools: coasting speed is not capped at 20, cap it at 255 Signed-off-by: Peter Hutterer --- tools/synclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/synclient.c b/tools/synclient.c index 4623728..6239617 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -117,7 +117,7 @@ static struct Parameter params[] = { {"PalmDetect", PT_BOOL, 0, 1, SYNAPTICS_PROP_PALM_DETECT, 8, 0}, {"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}, + {"CoastingSpeed", PT_DOUBLE, 0, 255, 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}, -- cgit v1.2.3