From 4b0003c3d4cee1f5c6675bde5701e2169959932a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 19 Aug 2010 14:22:03 +1000 Subject: Up the precision of MaxSpeed and AccelFactor log output. MaxSpeed usually has two decimals that matter, AccelFactor doesn't get intersting until the second decimal, so print 3. Signed-off-by: Peter Hutterer --- src/synaptics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/synaptics.c b/src/synaptics.c index aa14f76..3344d75 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -1002,9 +1002,9 @@ DeviceInit(DeviceIntPtr dev) * 100 packet/s by default. */ pVel->corr_mul = 12.5f; /*1000[ms]/80[/s] = 12.5 */ - xf86Msg(X_CONFIG, "%s: MaxSpeed is now %.1f\n", + xf86Msg(X_CONFIG, "%s: MaxSpeed is now %.2f\n", dev->name, priv->synpara.max_speed); - xf86Msg(X_CONFIG, "%s: AccelFactor is now %.1f\n", + xf86Msg(X_CONFIG, "%s: AccelFactor is now %.3f\n", dev->name, priv->synpara.accl); prop = XIGetKnownProperty(ACCEL_PROP_PROFILE_NUMBER); -- cgit v1.2.3