Usage: matrixanalyser.py (outdated) - 0mp/io-touchpad GitHub Wiki

Note:

This tutorial is compatible with matrixanalyser.py from the 7ab75e5 commit.


Walkthrough

  1. Run the following commands:

     git pull
     git checkout matrix-analysis
     make
     cd tools/matrixanalyser
     ./manage.sh setup
     cd ../..
     sudo ./app.py
    
  2. Draw something now and hit ^C when you finish.

  3. Now

     cd tools/matrixanalyser
    
  4. Get your touchpad's minimal and maximal x and y axis values using evtest.

     sudo evtest
    

Add them to the tools/matrixanalyser/matrixanalyser.py.

  1. Download matplotlib

     sudo apt-get udpate && sudo apt-get install python3-matplotlib
    
  2. Run the script!

     ./matrixanalyser.py
    
  3. Your picture will be saved to tools/matrixanalyser/figures.

⚠️ **GitHub.com Fallback** ⚠️