-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
Description
Script Command
sudo -E env PATH=$PATH python3 adafruit-pitft.py --display=28c --rotation=90 --install-type=mirror
sudo -E env PATH=$PATH python3 adafruit-pitft.py --display=28r --rotation=90 --install-type=mirror
Operating System
PiOS Bookworm
Desktop
64-bit
Hardware
Raspberry Pi 4B
Behavior
inverted x,y coordinates on touchscreen for both models of display.
Description
adafruit-pitft.py brings up a visually correct X11 session, but the touch points are inverted. Bottom right corner touch results in top left corner touch. This was shown to happen on both capacitive and resistive 2.8" PiTFTs. The workaround is to change invert x,y at the config.txt level.
touch-invx,touch-invy
capacitive
dtoverlay=pitft28-capacitive,rotate=90,speed=64000000,fps=30,touch-invx,touch-invy,drm
dtoverlay=pitft28-resistive,rotate=90,speed=64000000,fps=30,touch-invx,touch-invy,drm
This had been working and I'm not sure when it stopped.
Additional information
No response
nfoert