[PATCH libinput 2/2] touchpad: Make pointer movements a bit faster by default

Jonas Ådahl jadahl at gmail.com
Tue May 20 14:19:50 PDT 2014


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 at gmail.com>
---
 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 109441d..6c63cb6 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
-- 
1.9.1



More information about the wayland-devel mailing list