[PATCH synaptics] Increase the default acceleration factor.

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 18 22:14:08 PDT 2010


With 4e0e53fcba6fd99d458df1905d055d63360155c0 the driver got it's own
acceleration mechanism. This slowed down the pointer movement a lot,
especially on ALPS touchpads. Increase the default acceleration factor to
accommodate for this.

The number itself is chosen through guesswork and informal tests on one
Synaptics and one ALPS pad.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/synaptics.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/synaptics.c b/src/synaptics.c
index 3344d75..9d0bf14 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -455,7 +455,7 @@ static void set_default_parameters(LocalDevicePtr local)
     tapMove = diag * .044;
     edgeMotionMinSpeed = 1;
     edgeMotionMaxSpeed = diag * .080;
-    accelFactor = 50.0 / diag;
+    accelFactor = 200.0 / diag; /* trial-and-error */
 
     range = priv->maxp - priv->minp;
 
-- 
1.7.2.1


More information about the xorg-devel mailing list