From 4e669bf2463943e786603ecd0d4c9a5038ee6b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 20 May 2014 23:12:28 +0200 Subject: [PATCH] touchpad: Make pointer movements a bit faster by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 109441d2..6c63cb6c 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -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