diff --git a/doc/pointer-acceleration.dox b/doc/pointer-acceleration.dox index 502bc7b5..f6237c6b 100644 --- a/doc/pointer-acceleration.dox +++ b/doc/pointer-acceleration.dox @@ -96,10 +96,11 @@ applied sooner and with a stronger acceleration factor. @section ptraccel-touchpad Pointer acceleration on touchpads -Touchpad pointer acceleration uses the @ref ptraccel-linear profile, with a -constant deceleration factor applied. The user expectation of how much a -pointer should move in response to finger movement is different to that of a -mouse device, hence the constant deceleration factor. +Touchpad pointer acceleration uses the same approach as the @ref +ptraccel-linear profile, with a constant deceleration factor applied. The +user expectation of how much a pointer should move in response to finger +movement is different to that of a mouse device, hence the constant +deceleration factor. @image html ptraccel-touchpad.svg "Pointer acceleration curve for touchpads" diff --git a/doc/svg/ptraccel-touchpad.svg b/doc/svg/ptraccel-touchpad.svg index 1befa1e5..b6fa4658 100644 --- a/doc/svg/ptraccel-touchpad.svg +++ b/doc/svg/ptraccel-touchpad.svg @@ -9,7 +9,7 @@ > Gnuplot -Produced by GNUPLOT 5.0 patchlevel 0 +Produced by GNUPLOT 5.0 patchlevel 5 @@ -44,73 +44,103 @@ - + 0 - - 0.5 + + 0.2 - + + 0.4 + + + + + 0.6 + + + + + 0.8 + + + + 1 - - 1.5 + + 1.2 - + + 1.4 + + + + + 1.6 + + + + + 1.8 + + + + 2 - - 2.5 - - - - - 3 - - - - + 0 - - 0.0005 + + 50 - - 0.001 + + 100 - - 0.0015 + + 150 - - 0.002 + + 200 - - 0.0025 + + 250 - - 0.003 + + 300 + + + + + 350 + + + + + 400 @@ -118,1597 +148,340 @@ - + accel factor - - speed in units/us + + speed in mm/s - linear (mouse) + -1 - - linear (mouse) + + -1 - + - touchpad + -0.5 - - touchpad + + -0.5 - + - + -0.2 + + + -0.2 + + + + + + 0 + + + 0 + + + + + + 0.2 + + + 0.2 + + + + + + 0.5 + + + 0.5 + + + + + + 1 + + + 1 + + + + + + diff --git a/tools/make-ptraccel-graphs.sh b/tools/make-ptraccel-graphs.sh index 901baf9c..870ea925 100755 --- a/tools/make-ptraccel-graphs.sh +++ b/tools/make-ptraccel-graphs.sh @@ -44,18 +44,20 @@ plot "$outfile-200.gnuplot" using 1:2 title "200dpi", \ EOF outfile="ptraccel-touchpad" -$tool --mode=accel --dpi=1000 --filter=linear > $outfile-mouse.gnuplot -$tool --mode=accel --dpi=1000 --filter=touchpad > $outfile-touchpad.gnuplot $gnuplot < $outfile-$speed.gnuplot + echo "\"$outfile-$speed.gnuplot\" using 1:2 title '$speed', \\" + done +) EOF outfile="ptraccel-trackpoint"