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.
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.
forum issue
Additional information
No response
Script Command
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.
capacitive
This had been working and I'm not sure when it stopped.
forum issue
Additional information
No response