Open Mayson12381 opened 1 year ago
Sorry for the delay, lots (good stuff) happened in my personal life. Duplicate of https://github.com/guysoft/FullPageOS/issues/137#issuecomment-346576073 There is a solution there how to solve this. I guess it might be a good idea to add it to the wiki if you want to confirm that works
458 seemed to have the same problem but got closed do to being a duplicate of #137 , though I don't think that issue addresses this specific problem.
What were you doing?
I rotated my HDMI attached touch display with the DISPLAY_ORIENTATION=left variable in the start_gui file.
What did you expect to happen?
The display rotates and the touch is correctly detected
What happened instead?
The display rotated correctly, but the touch is wrongly corrected. I had to rotate to the left orientation which translates to a 270 deg rotation clockwise. But when I touch the bottom right of the screen. The mouse is moving at the top right, evidently still thinking its in lanscape mode.
Was there an error message displayed? What did it say?
No error message, except this line in the Xorg.0.log files:
Version of FullPageOS?
0.13.0
Additionally, I tried to fool around a bit with the Coordinate Transformation Matrix and added a line in rotate.sh with different names for the input device, tho I can't run xinput --list to find any devices since that command is not working over ssh nor directly over the device. I also experimented with the dtoverlay command, e.g. removing the vc4-kms-v3d or adding ,touchscreen-inverted-x=1,touchscreen-inverted-y=1. None of these did the trick, some even causing the pi to crash.