3.5" Touch display
To install the drivers, do this:
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD35-show
To return to HDMI, do this:
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD-hdmi
To rotate screen and swap mouse
sudo nano /boot/config.txt
Add the line:
dtoverlay=tft35a,rotate=270
To swap the mouse
sudo apt-get update
sudo apt-get install -y libts-bin evtest xinput python-dev python-pip
sudo pip install evdev
sudo apt-get install -y xinput-calibrator
Edit the file /etc/X11/xorg.conf.d/99-calibration.conf to this:
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "3853 170 288 3796"
Option "SwapAxes" "1"
EndSection