Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max-x and max-y change place when device is rotated #2

Open
stoefln opened this issue Nov 4, 2020 · 3 comments
Open

max-x and max-y change place when device is rotated #2

stoefln opened this issue Nov 4, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@stoefln
Copy link

stoefln commented Nov 4, 2020

I have problems with implementing the coordinate mapping for my Pixel 3a. (I am not using stf, that's why I have my own implementation).

The problem is: my Pixel 3A is switching the max-x and max-y coordinates when I reconnect my device.
Any ideas what's going on? How should I deal with this? My mapping does not account for device specific transformations...

Pixel 3a (max-x and max-y switch places)

Landscape
^ 10 2220 1080 0

Portrait
^ 10 1080 2220 0

Tab2 (max-x and max-y stay the same):

Landscape
^ 10 1535 2047 255

Portrait
^ 10 1535 2047 255

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@audia320w
Copy link

I have the same problem , some devices do not swith x y axis .

@koral-- koral-- added the bug Something isn't working label Dec 28, 2020
@stoefln
Copy link
Author

stoefln commented Aug 6, 2021

Any update on this? I am quite stuck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants