xyzz / openmw-android

OpenMW for Android
https://omw.xyz.is/
GNU General Public License v3.0
325 stars 88 forks source link

Absolute Touch control is offset with most custom resolutions #16

Closed Senjar closed 4 years ago

Senjar commented 5 years ago

4:3 Custom resolutions work with absolute touch but most 16:9 resolutions (except 1920x1080) are offset. Seems like the top left corner is fine but while you move to bottom right the touch is shifting further than the finger. Haven't tested 18.5:9, 16:10 and other aspect ratios.

bbbazooka75 commented 5 years ago

Tested using 18.5:9 aspect ratio (Samsung Galaxy Note8). Hybrid touch control appears to work correctly when app is first opened but when switching out of the app with the overview button and switching back, the touch control becomes offset. Switching back and forth to the app causes the offset to change either increasing or decreasing. On-screen buttons appear to not be affected. not-offset-cursor offset-cursor


Device resolution: 2960 x 1440 px Custom game resolution: 2220 x 1080 px GUI scaling factor: 1.85 Mouse mode in menus: Hybrid Graphics library: GLESv2

xyzz commented 5 years ago

Not able to reproduce on Pixel 1 running Android 10. What Android version are you on?

Tested resolutions:

Tested scenarios:

licaon-kter commented 5 years ago

Seeing this on Mate 9 Android 9, custom 1280x720 (default is 1920x1080) with Absolute

Seeing this on Xiaomi K20/9T Pro, custom 1560x720 (default 2340x1080) with Absolute

No need to exit/switch the app.

xyzz commented 5 years ago

Seeing this on Xiaomi K20/9T Pro, custom 1560x720 (default 2340x1080) with Absolute

Is this also Android 9?

licaon-kter commented 5 years ago

No, MIUI11 w/ Android 10

xyzz commented 4 years ago

Fixed in 714179608a4160dfc31568fa8e88165a49b16e48

licaon-kter commented 4 years ago

Confirmed, thanks