Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

Rotation 270 buttons not working #25

Open
jhopkins213 opened this issue May 2, 2018 · 2 comments
Open

Rotation 270 buttons not working #25

jhopkins213 opened this issue May 2, 2018 · 2 comments

Comments

@jhopkins213
Copy link

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

@longman391
Copy link

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

@jameseleach
Copy link

jameseleach commented Feb 9, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants