mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 14:40:15 +01:00
tools: fix the script to make ptraccel graphs for meson's builddir
Partial fix only because we can't guess the build dir, but at least it doesn't complain about the missing script now. And no-one really needs to run this anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
66687902d0
commit
132001f3ea
1 changed files with 6 additions and 1 deletions
|
|
@ -1,8 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
tool=`dirname $0`/ptraccel-debug
|
||||
tool=`dirname $0`/../build/ptraccel-debug
|
||||
gnuplot=/usr/bin/gnuplot
|
||||
|
||||
if [[ -e '$tool' ]]; then
|
||||
echo "Unable to find $tool"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
outfile="ptraccel-linear"
|
||||
for speed in -1 -0.75 -0.5 -0.25 0 0.5 1; do
|
||||
$tool --mode=accel --dpi=1000 --filter=linear --speed=$speed > $outfile-$speed.gnuplot
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue