You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PiTFT install script includes a basic installation of the tslib touch library.
We will start by testing to see if it can communicate with your touch display correctly.
Basic tslib test
ls -l /dev/input/touchscreen
sudo evtest /dev/input/touchscreen
Now touch the display and ensure coordinates are being written to the console:
Install tslib from sources
In order to enable libraries such as GUIslice to use tslib, we need to build the library from sources.
Install the prerequisites:
sudo apt-get install git automake libtool
Now compile and install tslib:
cd~/dev
git clone git://github.com/kergoth/tslib.git
cd tslib
./autogen.sh
./configure
make
sudo make install