OctoPrint-TFT icon indicating copy to clipboard operation
OctoPrint-TFT copied to clipboard

Rotation 270 buttons not working

Open jhopkins213 opened this issue 7 years ago • 2 comments

Ok so everything is setup fine except I have my screen rotated 270 landscape everything displays fine but when I touch a command it selects the wrong one I did a ts calibration and that is correct and if I go into startx the touch screen works so not sure what’s going on

jhopkins213 avatar May 02 '18 16:05 jhopkins213

Did you get this figured out? I'm having the same problem...

longman391 avatar Aug 13 '18 06:08 longman391

You need a X calibration file.

Create the file with: sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf

The contents, at least for me, are:

Section "InputClass"
  Identifier "STMPE Touchscreen Calibration"
  MatchProduct "stmpe"
  MatchDevicePath "/dev/input/event*"
  Driver "libinput"
  Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection

jameseleach avatar Feb 09 '19 23:02 jameseleach