Usage: matrixanalyser.py (outdated) - 0mp/io-touchpad GitHub Wiki
This tutorial is compatible with matrixanalyser.py from the 7ab75e5 commit.
-
Run the following commands:
git pull git checkout matrix-analysis make cd tools/matrixanalyser ./manage.sh setup cd ../.. sudo ./app.py
-
Draw something now and hit ^C when you finish.
-
Now
cd tools/matrixanalyser
-
Get your touchpad's minimal and maximal x and y axis values using
evtest
.sudo evtest
Add them to the tools/matrixanalyser/matrixanalyser.py
.
-
Download
matplotlib
sudo apt-get udpate && sudo apt-get install python3-matplotlib
-
Run the script!
./matrixanalyser.py
-
Your picture will be saved to
tools/matrixanalyser/figures
.