0

PITFT 3.5 touchscreen rotated/inverted
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PITFT 3.5 touchscreen rotated/inverted

by pumps on Mon Jun 12, 2017 7:31 pm

Hi,

I've got a PiTFT 3.5" and followed the install steps which work fine - however, the touchscreen appears to be inverted:

pressing on the left moves the cursor down / pressing on the right moves the cursor up
pressing on the top moves the cursor left / pressing on the bottom moves the cursor right

I've tried many ways to change it and re-calibrate, but can't resolve it currently. Are you able to help?

My /etc/X11/xorg.conf.d/99-calibration.conf is currently:

Section "InputClass"
Identifier "calibration"
MatchProduct "stmpe-ts"
Option "MinX" "3436"
Option "MaxX" "61689"
Option "MinY" "60074"
Option "MaxY" "2185"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection

And the SwapXY and InvertX/Y don't seem to help (after a restart also).

When I run the ts_test it works fine - I can draw and move the cursor spot on, and the display location matched the touch. It's just in pixel/xwindows where the touch events are inverted. How can I change that?

Many thanks, Simon

pumps
 
Posts: 3
Joined: Mon Jun 12, 2017 7:19 pm

Re: PITFT 3.5 touchscreen rotated/inverted

by pumps on Mon Jun 12, 2017 7:41 pm

I've just seen this:

http://www.0xf8.org/2016/01/complete-ro ... n-display/

Is your guide outdated? Should I now revert back to stock Raspian Jessie and use drivers in the main kernel now, rather than your custom display/touch drivers? (is that /boot/overlays/pitft35-resistive.dtbo?)

Thanks, Simon

pumps
 
Posts: 3
Joined: Mon Jun 12, 2017 7:19 pm

Re: PITFT 3.5 touchscreen rotated/inverted

by pumps on Mon Jul 24, 2017 7:20 pm

Is anyone able to help please?

Thanks!

pumps
 
Posts: 3
Joined: Mon Jun 12, 2017 7:19 pm

Re: PITFT 3.5 touchscreen rotated/inverted

by Ugotpantera on Sun Jul 30, 2017 2:50 am

I have the exact same problem. All the console test/calibrate stuff works perfect, but no setting I have found fixes Pixel issues. My project requires librarys/packages available only with pixel (sdr stuff). Also, how do you exit "ts_test"? Help us poor saps please!

Ugotpantera
 
Posts: 1
Joined: Sun Jul 30, 2017 2:47 am

Please be positive and constructive with your questions and comments.


cron