mirror of
https://github.com/goodtft/LCD-show.git
synced 2025-02-26 23:54:31 +01:00
modify nano2.4inch driver
This commit is contained in:
parent
53dc0f5b0e
commit
3f50cfafad
@ -22,6 +22,7 @@ sudo echo "dtparam=spi=on" >> ./boot/config.txt.bak
|
||||
sudo echo "enable_uart=1" >> ./boot/config.txt.bak
|
||||
sudo echo "dtoverlay=tft7789:rotate=270" >> ./boot/config.txt.bak
|
||||
sudo echo "dtoverlay=ft6236" >> ./boot/config.txt.bak
|
||||
sudo echo "gpio=18=op,dh" >> ./boot/config.txt.bak
|
||||
sudo cp -rf ./boot/config.txt.bak /boot/config.txt
|
||||
|
||||
sudo cp ./usr/ft6236.dtb /boot/overlays/ft6236.dtbo
|
||||
|
@ -1,7 +1,7 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "Goodix Capacitive TouchScreen"
|
||||
Option "Calibration" "240 0 0 320"
|
||||
MatchProduct "generic ft5x06 (11)"
|
||||
Option "Calibration" "319 0 0 239"
|
||||
Option "SwapAxes" "1"
|
||||
Option "EmulateThirdButton" "1"
|
||||
Option "EmulateThirdButtonTimeout" "1000"
|
||||
|
Loading…
x
Reference in New Issue
Block a user