expect a touchpad to be a
* lot slower than a mouse. Apply a magic factor to slow down all movements
*/
-#define TP_MAGIC_SLOWDOWN 0.37 /* unitless factor */
-
-/* Touchpad acceleration */
-#define TOUCHPAD_DEFAULT_THRESHOLD 254 /* mm/s */
-#define TOUCHPAD_THRESHOLD_RANGE 184
ne TP_MAGIC_SLOWDOWN 0.37 /* unitless factor */
+
+/*
+ * Default parameters for pointer acceleration profiles.
+ */
+
+#define DEFAULT_THRESHOLD v_ms2us(0.4) /* in units/us */
+#define MINIMUM_THRESHOLD v_ms2us(0.2) /* in units/us */
+#define DEFAULT_ACCELERATION 2.0 /* unitle
changes look good to me, as for how the new accel feels / works,
I trust you've good reasons for these changes:
Acked-by: Hans de Goede
Regards,
Hans
---
This is the first time I'm quite happy with the touchpad acceleration.
src/filter.c | 37 ++
the screen with few motions.
The patch also works the touchpad magic slowdown into the factor applied.
Since this is a static number now, calculate it once at set-speed and then
store the result in the filter.
Signed-off-by: Peter Hutterer
---
This is the first time I'm quite ha
Hi,
On 19-12-16 06:20, Peter Hutterer wrote:
This patchset is a cleanup and revamp of the touchpad acceleration code.
It doesn't give us perfect acceleration, but it goes from the current rather
abysimal state to one that should at least be good enough most of the time.
More tweaking will
This patchset is a cleanup and revamp of the touchpad acceleration code.
It doesn't give us perfect acceleration, but it goes from the current rather
abysimal state to one that should at least be good enough most of the time.
More tweaking will come, but meanwhile santa and whatnot.
Right no
I am not seeing this behavior when using Xorg
or Windows on the same hardware (or OS X on different hardware.)
Moving the "touchpad acceleration" slider to the "slowest" setting
appears to remove this lag, at the cost of a too-slow-to-be-usable
pointer. Moving the slider to th
erent hardware.)
Moving the "touchpad acceleration" slider to the "slowest" setting
appears to remove this lag, at the cost of a too-slow-to-be-usable
pointer. Moving the slider to the "fastest" setting appears to make
things worse, in the sense that I find it impossible t