summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-08-19 14:22:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-08-19 14:22:03 +1000
commit4b0003c3d4cee1f5c6675bde5701e2169959932a (patch)
treec804e8b53a0d130ef71b651b8dcc5162ca7a6024 /src
parent7acdbb7cf95299fda29d6bea691af925f5182749 (diff)
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 <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
1 files changed, 2 insertions, 2 deletions
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);