Skip to content

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

@stoefln

Description

@stoefln

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions