touchpad: Make pointer movements a bit faster by default
authorJonas Ådahl <jadahl@gmail.com>
Tue, 20 May 2014 21:12:28 +0000 (23:12 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 22 May 2014 19:48:22 +0000 (21:48 +0200)
Alter the so far hard coded parameters a bit to make the pointer
acceleration profile accelerate the pointer movement a bit more than
before.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c

index 109441d..6c63cb6 100644 (file)
@@ -28,9 +28,9 @@
 
 #include "evdev-mt-touchpad.h"
 
-#define DEFAULT_CONSTANT_ACCEL_NUMERATOR 50
-#define DEFAULT_MIN_ACCEL_FACTOR 0.16
-#define DEFAULT_MAX_ACCEL_FACTOR 1.0
+#define DEFAULT_CONSTANT_ACCEL_NUMERATOR 100
+#define DEFAULT_MIN_ACCEL_FACTOR 0.20
+#define DEFAULT_MAX_ACCEL_FACTOR 0.40
 #define DEFAULT_HYSTERESIS_MARGIN_DENOMINATOR 700.0
 
 static inline int