Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Primary display orientation not correct on Tab S7 Plus #41

Closed
himekifee opened this issue Aug 2, 2022 · 1 comment
Closed

Primary display orientation not correct on Tab S7 Plus #41

himekifee opened this issue Aug 2, 2022 · 1 comment

Comments

@himekifee
Copy link

I'm porting ubuntu touch to Samsung Galaxy Tab S7 Plus through ubports gsi. It went to the stage of displaying but the touch input is shifted. From what I remember, the situation is the width is recognised as height and vice versa. When I do LineageOS porting, there is a property ro.surface_flinger.primary_display_orientation=ORIENTATION_270 which swapped width and height, also xDpi and yDpi to solve the issue. I don't think I can find an option here so I want to ask if we can bypass this.

@himekifee
Copy link
Author

Nvm, the solution seems to be udev rules to apply a transformation matrix.

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

1 participant