DeviceFarmer / minitouch

Minimal multitouch event producer for Android.
Other
169 stars 28 forks source link

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

Open stoefln opened 3 years ago

stoefln commented 3 years ago

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[bot] commented 3 years ago

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

audia320w commented 3 years ago

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

stoefln commented 3 years ago

Any update on this? I am quite stuck!